Lines Matching refs:output_channels
71 output_channels: &[audio_mixer::Channel], in new()
78 output_channels, in new()
85 output_channels, in new()
105 fn output_channels(&self) -> &[Channel] { in output_channels() method
107 MixerType::IntegerMixer(m) => m.output_channels(), in output_channels()
108 MixerType::FloatMixer(m) => m.output_channels(), in output_channels()
126 let size_needed = frames * self.output_channels().len() * self.sample_size(); in mix()
137 slice::from_raw_parts_mut(out_buf_ptr, frames * self.output_channels().len()) in mix()
140 let mut out_buf = output_buffer.chunks_mut(self.output_channels().len()); in mix()
152 slice::from_raw_parts_mut(out_buf_ptr, frames * self.output_channels().len()) in mix()
155 let mut out_buf = output_buffer.chunks_mut(self.output_channels().len()); in mix()
177 mut output_channels: Vec<audio_mixer::Channel>, in new()
188 output_channels in new()
203 output_channels = vec![audio_mixer::Channel::FrontCenter]; in new()
205 output_channels = vec![ in new()
212 if output_channels.is_empty() in new()
213 || out_channel_count != output_channels.len() in new()
214 || all_silence == output_channels in new()
215 || Self::non_silent_duplicate_channel_present(&output_channels) in new()
218 output_channels = get_default_channel_order(out_channel_count); in new()
222 mixer: MixerType::new(format, &input_channels, &output_channels), in new()