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

/frameworks/av/media/libmedia/
H A DAudioTrack.cpp96 uint32_t minBufCount = afLatencyMs / ((1000 * afFrameCount) / afSampleRate); local
97 if (minBufCount < 2) {
98 minBufCount = 2;
101 "sampleRate %u speed %f minBufCount: %u",
102 afLatencyMs, afFrameCount, afSampleRate, sampleRate, speed, minBufCount);
103 return minBufCount * sourceFramesNeededWithTimestretch(
/frameworks/av/services/audioflinger/
H A DThreads.cpp175 // See the client's minBufCount and mNotificationFramesAct calculations for details.
1703 uint32_t minBufCount = latencyMs / ((1000 * mNormalFrameCount) / mSampleRate); local
1704 if (minBufCount < 2) {
1705 minBufCount = 2;
1710 minBufCount * sourceFramesNeededWithTimestretch(

Completed in 97 milliseconds