Home
last modified time | relevance | path

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

/frameworks/base/cmds/bootanimation/
Daudioplay.cpp143 bool createBufferQueueAudioPlayer(const ChunkFormat* chunkFormat) { in createBufferQueueAudioPlayer() argument
151 switch (chunkFormat->num_channels) { in createBufferQueueAudioPlayer()
165 chunkFormat->num_channels, in createBufferQueueAudioPlayer()
166 chunkFormat->sample_rate * 1000, // convert to milliHz in createBufferQueueAudioPlayer()
167 chunkFormat->bits_per_sample, in createBufferQueueAudioPlayer()
389 const ChunkFormat* chunkFormat; in create() local
392 if (!parseClipBuf(exampleClipBuf, exampleClipBufSize, &chunkFormat, &soundBuf, &soundBufSize)) { in create()
397 if (!createBufferQueueAudioPlayer(chunkFormat)) { in create()
405 const ChunkFormat* chunkFormat; in playClip() local
406 if (!parseClipBuf(buf, size, &chunkFormat, &nextBuffer, &nextSize)) { in playClip()