Searched refs:frames_to_push (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/media/base/ |
D | audio_block_fifo_unittest.cc | 17 void PushAndVerify(AudioBlockFifo* fifo, int frames_to_push, in PushAndVerify() argument 20 filled_frames + frames_to_push <= max_frames;) { in PushAndVerify() 21 Push(fifo, frames_to_push, channels); in PushAndVerify() 22 filled_frames += frames_to_push; in PushAndVerify() 29 void Push(AudioBlockFifo* fifo, int frames_to_push, int channels) { in Push() argument 30 DCHECK_LE(frames_to_push, fifo->GetUnfilledFrames()); in Push() 32 const int data_byte_size = bytes_per_sample * channels * frames_to_push; in Push() 35 fifo->Push(data.get(), frames_to_push, bytes_per_sample); in Push() 195 const int frames_to_push = static_cast<int>((new_blocks_1 + 0.5) * frames); in TEST_F() local 197 Push(&fifo, frames_to_push, channels); in TEST_F() [all …]
|
D | audio_block_fifo.cc | 35 int frames_to_push = frames; in Push() local 36 while (frames_to_push) { in Push() 43 std::min(block_frames_ - write_pos_, frames_to_push); in Push() 57 frames_to_push -= push_frames; in Push() 58 DCHECK_GE(frames_to_push, 0); in Push()
|