Searched defs:afFrameCount (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/media/libmedia/
H A DSoundPool.cpp581 size_t afFrameCount; local
584 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
585 afFrameCount = kDefaultFrameCount;
592 uint32_t totalFrames = (kDefaultBufferCount * afFrameCount * sampleRate) / afSampleRate;
H A DAudioTrack.cpp78 size_t afFrameCount; local
79 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType);
94 uint32_t minBufCount = afLatency / ((1000 * afFrameCount) / afSampleRate);
99 *frameCount = (sampleRate == 0) ? afFrameCount * minBufCount :
100 afFrameCount * minBufCount * uint64_t(sampleRate) / afSampleRate;
108 ALOGV("getMinFrameCount=%zu: afFrameCount=%zu, minBufCount=%d, afSampleRate=%d, afLatency=%d",
109 *frameCount, afFrameCount, minBufCount, afSampleRate, afLatency);
966 size_t afFrameCount; local
967 status = AudioSystem::getFrameCount(output, &afFrameCount);
1016 frameCount = afFrameCount;
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1575 size_t afFrameCount; local
1589 size_t afFrameCount; local
1591 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) {
1598 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate;

Completed in 168 milliseconds