Home
last modified time | relevance | path

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

/frameworks/base/media/jni/soundpool/
DSoundPool.cpp743 size_t afFrameCount; in play() local
746 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) { in play()
747 afFrameCount = kDefaultFrameCount; in play()
764 uint32_t totalFrames = (kDefaultBufferCount * afFrameCount * sampleRate) / afSampleRate; in play()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp99 uint32_t afLatencyMs, uint32_t afFrameCount, uint32_t afSampleRate, in calculateMinFrameCount() argument
103 uint32_t minBufCount = afLatencyMs / ((1000 * afFrameCount) / afSampleRate); in calculateMinFrameCount()
116 afLatencyMs, afFrameCount, afSampleRate, sampleRate, speed, minBufCount in calculateMinFrameCount()
119 sampleRate, afFrameCount, afSampleRate, speed); in calculateMinFrameCount()
145 size_t afFrameCount; in getMinFrameCount() local
146 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType); in getMinFrameCount()
162 *frameCount = calculateMinFrameCount(afLatency, afFrameCount, afSampleRate, sampleRate, 1.0f in getMinFrameCount()
174 *frameCount, afFrameCount, afSampleRate, afLatency); in getMinFrameCount()
DAudioRecord.cpp560 size_t afFrameCount; in openRecord_l()
561 status = AudioSystem::getFrameCount(input, &afFrameCount); in openRecord_l()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1833 size_t afFrameCount; in open() local
1834 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) { in open()
1841 (unsigned long long)sampleRate * afFrameCount / afSampleRate; in open()