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

/frameworks/av/media/libmedia/
H A DAudioTrack.cpp70 uint32_t minBufCount = afLatency / ((1000 * afFrameCount) / afSampleRate); local
71 if (minBufCount < 2) {
72 minBufCount = 2;
75 *frameCount = (sampleRate == 0) ? afFrameCount * minBufCount :
76 afFrameCount * minBufCount * sampleRate / afSampleRate;
77 ALOGV("getMinFrameCount=%d: afFrameCount=%d, minBufCount=%d, afSampleRate=%d, afLatency=%d",
78 *frameCount, afFrameCount, minBufCount, afSampleRate, afLatency);
915 uint32_t minBufCount = afLatency / ((1000 * afFrameCount)/afSampleRate); local
916 ALOGV("afFrameCount=%d, minBufCount=%d, afSampleRate=%u, afLatency=%d",
917 afFrameCount, minBufCount, afSampleRat
[all...]
/frameworks/av/services/audioflinger/
H A DThreads.cpp142 // See the client's minBufCount and mNotificationFramesAct calculations for details.
1251 uint32_t minBufCount = latencyMs / ((1000 * mNormalFrameCount) / mSampleRate); local
1252 if (minBufCount < 2) {
1253 minBufCount = 2;
1255 size_t minFrameCount = mNormalFrameCount * minBufCount;
4723 uint32_t minBufCount = latencyMs / ((1000 * mNormalFrameCount) / mSampleRate); local
4724 if (minBufCount < 2) {
4725 minBufCount = 2;
4727 size_t minFrameCount = mNormalFrameCount * minBufCount;

Completed in 69 milliseconds