Searched defs:afFrameCount (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.cpp | 743 size_t afFrameCount; local 746 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) { 747 afFrameCount = kDefaultFrameCount; 764 uint32_t totalFrames = (kDefaultBufferCount * afFrameCount * sampleRate) / afSampleRate;
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioTrack.cpp | 99 uint32_t afLatencyMs, uint32_t afFrameCount, uint32_t afSampleRate, 103 uint32_t minBufCount = afLatencyMs / ((1000 * afFrameCount) / afSampleRate); 114 ALOGV("calculateMinFrameCount afLatency %u afFrameCount %u afSampleRate %u " 116 afLatencyMs, afFrameCount, afSampleRate, sampleRate, speed, minBufCount 119 sampleRate, afFrameCount, afSampleRate, speed); 145 size_t afFrameCount; local 146 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType); 162 *frameCount = calculateMinFrameCount(afLatency, afFrameCount, afSampleRate, sampleRate, 1.0f 173 ALOGV("getMinFrameCount=%zu: afFrameCount=%zu, afSampleRate=%u, afLatency=%u", 174 *frameCount, afFrameCount, afSampleRat 98 calculateMinFrameCount( uint32_t afLatencyMs, uint32_t afFrameCount, uint32_t afSampleRate, uint32_t sampleRate, float speed ) argument [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1833 size_t afFrameCount; local 1834 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) { 1841 (unsigned long long)sampleRate * afFrameCount / afSampleRate;
|
Completed in 988 milliseconds