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

/frameworks/base/media/libmedia/
H A DAudioTrack.cpp61 int afFrameCount; local
62 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
71 uint32_t minBufCount = afLatency / ((1000 * afFrameCount) / afSampleRate);
74 *frameCount = (sampleRate == 0) ? afFrameCount * minBufCount :
75 afFrameCount * minBufCount * sampleRate / afSampleRate;
732 int afFrameCount; local
733 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
748 uint32_t minBufCount = afLatency / ((1000 * afFrameCount)/afSampleRate);
751 int minFrameCount = (afFrameCount*sampleRate*minBufCount)/afSampleRate;
/frameworks/media/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp398 int afFrameCount; local
401 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) !=
410 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate;
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp571 int afFrameCount; local
574 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
575 afFrameCount = kDefaultFrameCount;
582 uint32_t totalFrames = (kDefaultBufferCount * afFrameCount * sampleRate) / afSampleRate;
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp176 int afFrameCount; local
178 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
/frameworks/base/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1357 int afFrameCount; local
1360 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) {
1367 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate;

Completed in 144 milliseconds