Searched refs:frames_to_consume (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/media/base/ |
D | audio_fifo.cc | 89 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()
|
D | audio_pull_fifo_unittest.cc | 47 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()
|
D | audio_pull_fifo.cc | 21 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()
|
D | audio_fifo_unittest.cc | 160 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()
|
D | audio_fifo.h | 33 void Consume(AudioBus* destination, int start_frame, int frames_to_consume);
|
D | audio_pull_fifo.h | 38 void Consume(AudioBus* destination, int frames_to_consume);
|
/external/chromium_org/media/filters/ |
D | audio_renderer_impl_unittest.cc | 628 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()
|