Home
last modified time | relevance | path

Searched refs:chunkHeader (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/bootanimation/
Daudioplay.cpp277 const ChunkHeader* chunkHeader = (const ChunkHeader*)*oSoundBuf; in parseClipBuf() local
278 if (*oSoundBufSize < sizeof(*chunkHeader)) { in parseClipBuf()
283 *oSoundBuf += sizeof(*chunkHeader); in parseClipBuf()
284 *oSoundBufSize -= sizeof(*chunkHeader); in parseClipBuf()
287 switch (chunkHeader->id) { in parseClipBuf()
290 *oSoundBuf += chunkHeader->sz; in parseClipBuf()
291 *oSoundBufSize -= chunkHeader->sz; in parseClipBuf()
295 *oSoundBufSize = chunkHeader->sz; in parseClipBuf()
300 *oSoundBuf += chunkHeader->sz; in parseClipBuf()
301 *oSoundBufSize -= chunkHeader->sz; in parseClipBuf()
/frameworks/av/media/module/extractors/wav/
DWAVExtractor.cpp178 uint8_t chunkHeader[8]; in init() local
179 if (mDataSource->readAt(offset, chunkHeader, 8) < 8) { in init()
186 uint32_t chunkSize = U32_LE_AT(&chunkHeader[4]); in init()
192 if (!memcmp(chunkHeader, "fmt ", 4)) { in init()
303 } else if (!memcmp(chunkHeader, "data", 4)) { in init()