Home
last modified time | relevance | path

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

/external/chromium_org/media/audio/alsa/
Dalsa_output.cc477 uint32 available_frames = GetAvailableFrames(); in ScheduleNextWrite() local
480 if (buffer_->forward_bytes() && available_frames) { in ScheduleNextWrite()
489 } else if (available_frames < kTargetFramesAvailable) { in ScheduleNextWrite()
493 kTargetFramesAvailable - available_frames, sample_rate_); in ScheduleNextWrite()
609 snd_pcm_sframes_t available_frames = in GetAvailableFrames() local
611 if (available_frames < 0) { in GetAvailableFrames()
612 available_frames = wrapper_->PcmRecover(playback_handle_, in GetAvailableFrames()
613 available_frames, in GetAvailableFrames()
616 if (available_frames < 0) { in GetAvailableFrames()
618 << wrapper_->StrError(available_frames); in GetAvailableFrames()
[all …]
/external/chromium_org/media/base/
Daudio_block_fifo_unittest.cc221 const int available_frames = max_frames - expected_unfilled_frames; in TEST_F() local
222 Push(&fifo, frames - available_frames, channels); in TEST_F()