Home
last modified time | relevance | path

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

/frameworks/base/media/libmedia/
DAudioRecord.cpp185 int minFrameCount = 0; in set() local
186 status_t status = getMinFrameCount(&minFrameCount, sampleRate, format, channelCount); in set()
190 LOGV("AudioRecord::set() minFrameCount = %d", minFrameCount); in set()
193 frameCount = minFrameCount; in set()
194 } else if (frameCount < minFrameCount) { in set()
DAudioTrack.cpp751 int minFrameCount = (afFrameCount*sampleRate*minBufCount)/afSampleRate; in createTrack_l() local
755 frameCount = minFrameCount; in createTrack_l()
765 if (frameCount < minFrameCount) { in createTrack_l()
767 … LOGE("Invalid buffer size: minFrameCount %d, frameCount %d", minFrameCount, frameCount); in createTrack_l()
770 frameCount = minFrameCount; in createTrack_l()