Searched refs: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;
103 if (minBufCount < notificationsPerBufferReq) {
104 minBufCount = notificationsPerBufferReq;
108 "sampleRate %u speed %f minBufCount: %u" /*" notificationsPerBufferReq %u"*/,
109 afLatencyMs, afFrameCount, afSampleRate, sampleRate, speed, minBufCount
111 return minBufCount * sourceFramesNeededWithTimestretch(
/frameworks/av/services/audioflinger/
H A DThreads.cpp1817 uint32_t minBufCount = latencyMs / ((1000 * mNormalFrameCount) / mSampleRate); local
1818 if (minBufCount < 2) {
1819 minBufCount = 2;
1824 minBufCount * sourceFramesNeededWithTimestretch(

Completed in 61 milliseconds