Searched refs:afFrameCount (Results 1 - 5 of 5) sorted by relevance

/frameworks/av/media/libmedia/
H A DAudioTrack.cpp74 size_t afFrameCount; local
75 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
84 uint32_t minBufCount = afLatency / ((1000 * afFrameCount) / afSampleRate);
87 *frameCount = (sampleRate == 0) ? afFrameCount * minBufCount :
88 afFrameCount * minBufCount * sampleRate / afSampleRate;
89 ALOGV("getMinFrameCount=%d: afFrameCount=%d, minBufCount=%d, afSampleRate=%d, afLatency=%d",
90 *frameCount, afFrameCount, minBufCount, afSampleRate, afLatency);
777 size_t afFrameCount; local
778 if (AudioSystem::getFrameCount(output, streamType, &afFrameCount) != NO_ERROR) {
781 frameCount = afFrameCount;
812 size_t afFrameCount; local
[all...]
H A DSoundPool.cpp571 size_t 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 DVideoEditorPlayer.cpp410 size_t afFrameCount; local
413 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) !=
422 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate;
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp212 size_t afFrameCount; local
214 if (AudioSystem::getOutputFrameCount(&afFrameCount, (audio_stream_type_t) streamType) != NO_ERROR) {
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1405 size_t afFrameCount; local
1408 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) {
1415 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate;

Completed in 4223 milliseconds