Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DAudioTrack.cpp96 uint32_t minBufCount = afLatencyMs / ((1000 * afFrameCount) / afSampleRate); in calculateMinFrameCount() local
97 if (minBufCount < 2) { in calculateMinFrameCount()
98 minBufCount = 2; in calculateMinFrameCount()
103 if (minBufCount < notificationsPerBufferReq) { in calculateMinFrameCount()
104 minBufCount = notificationsPerBufferReq; in calculateMinFrameCount()
109 afLatencyMs, afFrameCount, afSampleRate, sampleRate, speed, minBufCount in calculateMinFrameCount()
111 return minBufCount * sourceFramesNeededWithTimestretch( in calculateMinFrameCount()
/frameworks/av/services/audioflinger/
DThreads.cpp1817 uint32_t minBufCount = latencyMs / ((1000 * mNormalFrameCount) / mSampleRate); in createTrack_l() local
1818 if (minBufCount < 2) { in createTrack_l()
1819 minBufCount = 2; in createTrack_l()
1824 minBufCount * sourceFramesNeededWithTimestretch( in createTrack_l()