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

/frameworks/av/media/libaudioclient/
H A DAudioTrack.cpp103 uint32_t minBufCount = afLatencyMs / ((1000 * afFrameCount) / afSampleRate); local
104 if (minBufCount < 2) {
105 minBufCount = 2;
110 if (minBufCount < notificationsPerBufferReq) {
111 minBufCount = notificationsPerBufferReq;
115 "sampleRate %u speed %f minBufCount: %u" /*" notificationsPerBufferReq %u"*/,
116 afLatencyMs, afFrameCount, afSampleRate, sampleRate, speed, minBufCount
118 return minBufCount * sourceFramesNeededWithTimestretch(
/frameworks/av/services/audioflinger/
H A DThreads.cpp1941 uint32_t minBufCount = latencyMs / ((1000 * mNormalFrameCount) / mSampleRate); local
1942 if (minBufCount < 2) {
1943 minBufCount = 2;
1948 minBufCount * sourceFramesNeededWithTimestretch(

Completed in 68 milliseconds