Home
last modified time | relevance | path

Searched refs:frames_to_consume (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/media/base/
Daudio_fifo.cc89 int frames_to_consume) { in Consume() argument
94 CHECK_LE(frames_to_consume, frames()); in Consume()
98 CHECK_LE(frames_to_consume + start_frame, destination->frames()); in Consume()
104 GetSizes(read_pos_, max_frames(), frames_to_consume, in Consume()
122 frames_consumed_ += frames_to_consume; in Consume()
123 read_pos_ = UpdatePos(read_pos_, frames_to_consume, max_frames()); in Consume()
Daudio_pull_fifo_unittest.cc47 void ConsumeTest(int frames_to_consume) { in ConsumeTest() argument
50 frames_to_consume)); in ConsumeTest()
51 pull_fifo_.Consume(audio_bus_.get(), frames_to_consume); in ConsumeTest()
53 VerifyValue(audio_bus_->channel(j), frames_to_consume, start_value); in ConsumeTest()
55 start_value += frames_to_consume; in ConsumeTest()
Daudio_pull_fifo.cc21 void AudioPullFifo::Consume(AudioBus* destination, int frames_to_consume) { in Consume() argument
22 DCHECK_LE(frames_to_consume, destination->frames()); in Consume()
24 int remaining_frames_to_provide = frames_to_consume; in Consume()
Daudio_fifo_unittest.cc160 const int frames_to_consume = bus->frames() / 2; in TEST_F() local
162 fifo.Consume(bus.get(), 0, frames_to_consume); in TEST_F()
164 VerifyValue(bus->channel(j), frames_to_consume, value); in TEST_F()
Daudio_fifo.h33 void Consume(AudioBus* destination, int start_frame, int frames_to_consume);
Daudio_pull_fifo.h38 void Consume(AudioBus* destination, int frames_to_consume);
/external/chromium_org/media/filters/
Daudio_renderer_impl_unittest.cc628 OutputFrames frames_to_consume(frames_buffered().value / 2); in TEST_F() local
629 EXPECT_TRUE(ConsumeBufferedData(frames_to_consume)); in TEST_F()
637 frames_to_consume = frames_buffered(); in TEST_F()
638 EXPECT_TRUE(ConsumeBufferedData(frames_to_consume)); in TEST_F()
641 timestamp_helper.AddFrames(frames_to_consume.value); in TEST_F()