Lines Matching refs:num_output_channels
33 size_t num_output_channels, in ReMixFrame() argument
35 const size_t output_size = num_output_channels * input.samples_per_channel_; in ReMixFrame()
36 RTC_DCHECK(!(input.num_channels_ == 0 && num_output_channels > 0 && in ReMixFrame()
60 if (input.num_channels_ == 1 && input.num_channels_ < num_output_channels) { in ReMixFrame()
64 for (size_t j = 2; j < num_output_channels; ++j) { in ReMixFrame()
67 RTC_DCHECK_EQ(out_index, (k + 1) * num_output_channels); in ReMixFrame()
69 RTC_DCHECK_EQ(out_index, input.samples_per_channel_ * num_output_channels); in ReMixFrame()
77 if (input.num_channels_ < num_output_channels) { in ReMixFrame()
82 for (size_t j = input.num_channels_; j < num_output_channels; ++j) { in ReMixFrame()
86 RTC_DCHECK_EQ(out_index, (k + 1) * num_output_channels); in ReMixFrame()
89 RTC_DCHECK_EQ(out_index, input.samples_per_channel_ * num_output_channels); in ReMixFrame()
105 const size_t num_channels_to_drop = input.num_channels_ - num_output_channels; in ReMixFrame()
107 for (size_t j = 0; j < num_output_channels; ++j) { in ReMixFrame()