Searched refs:afFrameCount (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 729 size_t afFrameCount; in play() local 732 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) { in play() 733 afFrameCount = kDefaultFrameCount; in play() 750 uint32_t totalFrames = (kDefaultBufferCount * afFrameCount * sampleRate) / afSampleRate; in play()
|
/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() 109 afLatencyMs, afFrameCount, afSampleRate, sampleRate, speed, minBufCount in calculateMinFrameCount() 112 sampleRate, afFrameCount, afSampleRate, speed); in calculateMinFrameCount() 138 size_t afFrameCount; in getMinFrameCount() local 139 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType); in getMinFrameCount() 155 *frameCount = calculateMinFrameCount(afLatency, afFrameCount, afSampleRate, sampleRate, 1.0f in getMinFrameCount() 167 *frameCount, afFrameCount, afSampleRate, afLatency); in getMinFrameCount()
|
D | AudioRecord.cpp | 552 size_t afFrameCount; in openRecord_l() 553 status = AudioSystem::getFrameCount(input, &afFrameCount); in openRecord_l()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 1678 size_t afFrameCount; in open() local 1679 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) { in open() 1686 (unsigned long long)sampleRate * afFrameCount / afSampleRate; in open()
|