Searched refs:afFrameCount (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.cpp | 729 size_t afFrameCount; local 732 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) { 733 afFrameCount = kDefaultFrameCount; 750 uint32_t totalFrames = (kDefaultBufferCount * afFrameCount * sampleRate) / afSampleRate;
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 92 uint32_t afLatencyMs, uint32_t afFrameCount, uint32_t afSampleRate, 96 uint32_t minBufCount = afLatencyMs / ((1000 * afFrameCount) / afSampleRate); 107 ALOGV("calculateMinFrameCount afLatency %u afFrameCount %u afSampleRate %u " 109 afLatencyMs, afFrameCount, afSampleRate, sampleRate, speed, minBufCount 112 sampleRate, afFrameCount, afSampleRate, speed); 138 size_t afFrameCount; local 139 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType); 155 *frameCount = calculateMinFrameCount(afLatency, afFrameCount, afSampleRate, sampleRate, 1.0f 166 ALOGV("getMinFrameCount=%zu: afFrameCount=%zu, afSampleRate=%u, afLatency=%u", 167 *frameCount, afFrameCount, afSampleRat 91 calculateMinFrameCount( uint32_t afLatencyMs, uint32_t afFrameCount, uint32_t afSampleRate, uint32_t sampleRate, float speed ) argument [all...] |
H A D | AudioRecord.cpp | 552 size_t afFrameCount; 553 status = AudioSystem::getFrameCount(input, &afFrameCount);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1678 size_t afFrameCount; local 1679 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) { 1686 (unsigned long long)sampleRate * afFrameCount / afSampleRate;
|
Completed in 400 milliseconds