Searched refs:afFrameCount (Results 1 - 6 of 6) sorted by relevance
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 72 int afFrameCount; local 73 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) { 82 uint32_t minBufCount = afLatency / ((1000 * afFrameCount) / afSampleRate); 85 *frameCount = (sampleRate == 0) ? afFrameCount * minBufCount : 86 afFrameCount * minBufCount * sampleRate / afSampleRate; 87 ALOGV("getMinFrameCount=%d: afFrameCount=%d, minBufCount=%d, afSampleRate=%d, afLatency=%d", 88 *frameCount, afFrameCount, minBufCount, afSampleRate, afLatency); 794 int afFrameCount; local 795 if (AudioSystem::getFrameCount(output, streamType, &afFrameCount) != NO_ERROR) { 798 frameCount = afFrameCount; 830 int afFrameCount; local [all...] |
H A D | SoundPool.cpp | 571 int afFrameCount; local 574 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) { 575 afFrameCount = kDefaultFrameCount; 582 uint32_t totalFrames = (kDefaultBufferCount * afFrameCount * sampleRate) / afSampleRate;
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 410 int afFrameCount; local 413 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != 422 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate;
|
/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 173 int afFrameCount; local 174 if (android::AudioSystem::getOutputFrameCount(&afFrameCount, 184 uint32_t minBufCount = afLatency / ((1000 * afFrameCount)/afSampleRate); 187 return (afFrameCount*sampleRate*minBufCount)/afSampleRate;
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioTrack.cpp | 210 int afFrameCount; local 212 if (AudioSystem::getOutputFrameCount(&afFrameCount, (audio_stream_type_t) streamType) != NO_ERROR) {
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1391 int afFrameCount; local 1394 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) { 1401 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate;
|
Completed in 777 milliseconds