Home
last modified time | relevance | path

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

/frameworks/base/cmds/bootanimation/
Daudioplay.cpp275 const ChunkHeader* chunkHeader = (const ChunkHeader*)*oSoundBuf; in parseClipBuf() local
276 if (*oSoundBufSize < sizeof(*chunkHeader)) { in parseClipBuf()
281 *oSoundBuf += sizeof(*chunkHeader); in parseClipBuf()
282 *oSoundBufSize -= sizeof(*chunkHeader); in parseClipBuf()
285 switch (chunkHeader->id) { in parseClipBuf()
288 *oSoundBuf += chunkHeader->sz; in parseClipBuf()
289 *oSoundBufSize -= chunkHeader->sz; in parseClipBuf()
293 *oSoundBufSize = chunkHeader->sz; in parseClipBuf()
298 *oSoundBuf += chunkHeader->sz; in parseClipBuf()
299 *oSoundBufSize -= chunkHeader->sz; in parseClipBuf()
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp176 uint8_t chunkHeader[8]; in init() local
177 if (mDataSource->readAt(offset, chunkHeader, 8) < 8) { in init()
184 uint32_t chunkSize = U32_LE_AT(&chunkHeader[4]); in init()
190 if (!memcmp(chunkHeader, "fmt ", 4)) { in init()
301 } else if (!memcmp(chunkHeader, "data", 4)) { in init()