Searched refs:afFrameCount (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/media/libmedia/ |
D | AudioTrack.cpp | 92 uint32_t afLatencyMs, uint32_t afFrameCount, uint32_t afSampleRate, in calculateMinFrameCount() argument 96 uint32_t minBufCount = afLatencyMs / ((1000 * afFrameCount) / afSampleRate); in calculateMinFrameCount() 102 afLatencyMs, afFrameCount, afSampleRate, sampleRate, speed, minBufCount); in calculateMinFrameCount() 104 sampleRate, afFrameCount, afSampleRate, speed); in calculateMinFrameCount() 130 size_t afFrameCount; in getMinFrameCount() local 131 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType); in getMinFrameCount() 147 *frameCount = calculateMinFrameCount(afLatency, afFrameCount, afSampleRate, sampleRate, 1.0f); in getMinFrameCount() 158 *frameCount, afFrameCount, afSampleRate, afLatency); in getMinFrameCount()
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 692 size_t afFrameCount; in play() local 695 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) { in play() 696 afFrameCount = kDefaultFrameCount; in play() 713 uint32_t totalFrames = (kDefaultBufferCount * afFrameCount * sampleRate) / afSampleRate; in play()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 1560 size_t afFrameCount; in open() local 1561 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) { in open() 1568 (unsigned long long)sampleRate * afFrameCount / afSampleRate; in open()
|