Searched defs:frames_to_push (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/media/base/
H A Daudio_block_fifo.cc35 int frames_to_push = frames; local
36 while (frames_to_push) {
43 std::min(block_frames_ - write_pos_, frames_to_push);
57 frames_to_push -= push_frames;
58 DCHECK_GE(frames_to_push, 0);
H A Daudio_block_fifo_unittest.cc17 void PushAndVerify(AudioBlockFifo* fifo, int frames_to_push, argument
20 filled_frames + frames_to_push <= max_frames;) {
21 Push(fifo, frames_to_push, channels);
22 filled_frames += frames_to_push;
29 void Push(AudioBlockFifo* fifo, int frames_to_push, int channels) { argument
30 DCHECK_LE(frames_to_push, fifo->GetUnfilledFrames());
32 const int data_byte_size = bytes_per_sample * channels * frames_to_push;
35 fifo->Push(data.get(), frames_to_push, bytes_per_sample);
195 const int frames_to_push = static_cast<int>((new_blocks_1 + 0.5) * frames); local
197 Push(&fifo, frames_to_push, channel
[all...]

Completed in 64 milliseconds