Lines Matching refs:num_channels
76 int num_channels,
84 assert(num_channels == 1 || num_channels == 2);
94 if (num_channels == 2 && codec_num_channels == 1) {
98 num_channels = 1;
102 sample_rate_hz, destination_rate, num_channels) != 0) {
107 num_channels);
111 const int in_length = samples_per_channel * num_channels;
119 dst_af->samples_per_channel_ = out_length / num_channels;
121 dst_af->num_channels_ = num_channels;