Lines Matching refs:chunk
239 ChunkHeader chunk;
260 if (result) return 0; /*THROW_RESULT("AudioFilePlayer::OpenFile(): chunk id is not 'FORM'");*/
268 /* Search for the SSND chunk. We ignore all compression etc. information
271 TODO: Parse the COMM chunk we currently skip to fill in mFileDescription.
275 result = FSReadFork(afp->mForkRefNum, fsFromMark, offset, sizeof(chunk), &chunk, &actual);
278 chunk.ckID = SDL_SwapBE32(chunk.ckID);
279 chunk.ckSize = SDL_SwapBE32(chunk.ckSize);
281 /* Skip the chunk data */
282 offset = chunk.ckSize;
283 } while (chunk.ckID != 'SSND');
285 /* Read the header of the SSND chunk. After this, we are positioned right
296 *outFileDataSize = chunk.ckSize - ssndData.offset - 8;