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 | 103 uint32_t afLatencyMs, uint32_t afFrameCount, uint32_t afSampleRate, 107 uint32_t minBufCount = afLatencyMs / ((1000 * afFrameCount) / afSampleRate); 118 ALOGV("calculateMinFrameCount afLatency %u afFrameCount %u afSampleRate %u " 120 afLatencyMs, afFrameCount, afSampleRate, sampleRate, speed, minBufCount 123 sampleRate, afFrameCount, afSampleRate, speed); 149 size_t afFrameCount; local 150 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType); 166 *frameCount = calculateMinFrameCount(afLatency, afFrameCount, afSampleRate, sampleRate, 1.0f 177 ALOGV("getMinFrameCount=%zu: afFrameCount=%zu, afSampleRate=%u, afLatency=%u", 178 *frameCount, afFrameCount, afSampleRat 102 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 | 1876 size_t afFrameCount; local 1877 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) { 1884 (unsigned long long)sampleRate * afFrameCount / afSampleRate;
|
Completed in 109 milliseconds