Lines Matching refs:channels

18                      int channels, int block_frames, int max_frames) {
21 Push(fifo, frames_to_push, channels);
29 void Push(AudioBlockFifo* fifo, int frames_to_push, int channels) {
32 const int data_byte_size = bytes_per_sample * channels * frames_to_push;
45 for (int i = 0; i < bus->channels(); ++i) {
57 const int channels = 6;
60 AudioBlockFifo fifo(channels, frames, blocks);
67 const int channels = 2;
70 AudioBlockFifo fifo(channels, frames, blocks);
73 PushAndVerify(&fifo, frames / 2, channels, frames, frames * blocks);
77 PushAndVerify(&fifo, frames, channels, frames, frames * blocks);
81 PushAndVerify(&fifo, frames * 1.5, channels, frames, frames * blocks);
88 const int channels = 2;
91 AudioBlockFifo fifo(channels, frames, blocks);
92 PushAndVerify(&fifo, frames, channels, frames, frames * blocks);
98 EXPECT_TRUE(channels == bus->channels());
104 PushAndVerify(&fifo, frames, channels, frames, frames * blocks);
111 EXPECT_TRUE(channels == bus->channels());
122 PushAndVerify(&fifo, new_push_frames, channels, frames,
130 EXPECT_TRUE(channels == bus->channels());
144 PushAndVerify(&fifo, new_push_frames, channels, frames,
152 static const int channels = 2;
155 AudioBlockFifo fifo(channels, frames, blocks);
156 PushAndVerify(&fifo, frames, channels, frames, frames * blocks);
162 EXPECT_TRUE(channels == bus->channels());
171 const int channels = 2;
174 AudioBlockFifo fifo(channels, frames, default_blocks);
175 Push(&fifo, frames, channels);
197 Push(&fifo, frames_to_push, channels);
222 Push(&fifo, frames - available_frames, channels);