Lines Matching refs:channels
14 MultiChannelResampler::MultiChannelResampler(int channels,
19 wrapped_resampler_audio_bus_(AudioBus::CreateWrapper(channels)),
22 resamplers_.reserve(channels);
23 for (int i = 0; i < channels; ++i) {
32 // Allocate storage for all channels except the first, which will use the
34 if (channels > 1) {
35 resampler_audio_bus_ = AudioBus::Create(channels - 1, request_size);
36 for (int i = 0; i < resampler_audio_bus_->channels(); ++i) {
46 DCHECK_EQ(static_cast<size_t>(audio_bus->channels()), resamplers_.size());
49 if (audio_bus->channels() == 1) {
70 // the first channel, then it will call it for the remaining channels,
85 // for it. For subsequent channels, we can just dish out the channel data
91 // All channels must ask for the same amount. This should always be the