Home
last modified time | relevance | path

Searched refs:minFrames (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libmedia/
DAudioRecord.cpp1023 uint32_t minFrames = ~0; in processAudioBuffer() local
1025 minFrames = (markerPosition - position).value(); in processAudioBuffer()
1029 if (remaining < minFrames) { in processAudioBuffer()
1030 minFrames = remaining; in processAudioBuffer()
1036 if (kPoll > 0 && mTransfer == TRANSFER_CALLBACK && kPoll * notificationFrames < minFrames) { in processAudioBuffer()
1037 minFrames = kPoll * notificationFrames; in processAudioBuffer()
1042 if (minFrames != (uint32_t) ~0) { in processAudioBuffer()
1045 ns = ((minFrames * 1000000000LL) / mSampleRate) + kFudgeNs; in processAudioBuffer()
DAudioTrack.cpp1974 uint32_t minFrames = ~0; in processAudioBuffer() local
1976 minFrames = (markerPosition - position).value(); in processAudioBuffer()
1978 if (loopPeriod > 0 && loopPeriod < minFrames) { in processAudioBuffer()
1980 minFrames = loopPeriod; in processAudioBuffer()
1983 minFrames = min(minFrames, (newPosition - position).value()); in processAudioBuffer()
1988 if (kPoll > 0 && mTransfer == TRANSFER_CALLBACK && kPoll * notificationFrames < minFrames) { in processAudioBuffer()
1989 minFrames = kPoll * notificationFrames; in processAudioBuffer()
1998 if (minFrames != (uint32_t) ~0) { in processAudioBuffer()
1999 ns = framesToNanoseconds(minFrames, sampleRate, speed) + kWaitPeriodNs; in processAudioBuffer()
/frameworks/av/services/audioflinger/
DThreads.cpp4245 uint32_t minFrames = 1; in prepareTracks_l() local
4248 minFrames = desiredFrames; in prepareTracks_l()
4269 if ((framesReady >= minFrames) && track->isReady() && in prepareTracks_l()
4952 uint32_t minFrames; in prepareTracks_l() local
4955 minFrames = mNormalFrameCount; in prepareTracks_l()
4957 minFrames = 1; in prepareTracks_l()
4960 if ((track->framesReady() >= minFrames) && track->isReady() && !track->isPaused() && in prepareTracks_l()
5047 track->framesReady(), minFrames, mFormat); in prepareTracks_l()