Searched defs:minBufCount (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/media/libmedia/
H A DAudioTrack.cpp84 uint32_t minBufCount = afLatency / ((1000 * afFrameCount) / afSampleRate); local
85 if (minBufCount < 2) minBufCount = 2;
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);
818 uint32_t minBufCount = afLatency / ((1000 * afFrameCount)/afSampleRate); local
819 if (minBufCount < 2) minBufCount
[all...]
/frameworks/av/services/audioflinger/
H A DThreads.cpp141 // See the client's minBufCount and mNotificationFramesAct calculations for details.
1163 uint32_t minBufCount = latencyMs / ((1000 * mNormalFrameCount) / mSampleRate); local
1164 if (minBufCount < 2) {
1165 minBufCount = 2;
1167 size_t minFrameCount = mNormalFrameCount * minBufCount;

Completed in 928 milliseconds