Home
last modified time | relevance | path

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

/frameworks/base/cmds/bootanimation/
DAudioPlayer.cpp237 const struct chunk_header* chunkHeader = (const struct chunk_header*)wavData; in threadLoop() local
238 if (wavLength < sizeof(*chunkHeader)) { in threadLoop()
243 wavData += sizeof(*chunkHeader); in threadLoop()
244 wavLength -= sizeof(*chunkHeader); in threadLoop()
246 switch (chunkHeader->id) { in threadLoop()
249 wavData += chunkHeader->sz; in threadLoop()
250 wavLength -= chunkHeader->sz; in threadLoop()
258 wavData += chunkHeader->sz; in threadLoop()
259 wavLength -= chunkHeader->sz; in threadLoop()
/frameworks/av/media/libstagefright/
DWAVExtractor.cpp156 uint8_t chunkHeader[8]; in init() local
157 if (mDataSource->readAt(offset, chunkHeader, 8) < 8) { in init()
164 uint32_t chunkSize = U32_LE_AT(&chunkHeader[4]); in init()
170 if (!memcmp(chunkHeader, "fmt ", 4)) { in init()
280 } else if (!memcmp(chunkHeader, "data", 4)) { in init()