Remove additional channel constraints when Beamforming is enabled in AudioProcessing
The general constraints on number of channels for AudioProcessing is: num_in_channels == num_out_channels || num_out_channels == 1 When Beamforming is enabled and additional constraint was added forcing: num_out_channels == 1 This artificial constraint was removed by adding upmixing support in CopyTo, since it was already supported for the AudioFrame interface using InterleaveTo. Review URL: https://codereview.webrtc.org/1571013002 Cr-Commit-Position: refs/heads/master@{#11215}
This commit is contained in:
@ -288,6 +288,7 @@ class AudioProcessing {
|
||||
virtual int proc_sample_rate_hz() const = 0;
|
||||
virtual int proc_split_sample_rate_hz() const = 0;
|
||||
virtual int num_input_channels() const = 0;
|
||||
virtual int num_proc_channels() const = 0;
|
||||
virtual int num_output_channels() const = 0;
|
||||
virtual int num_reverse_channels() const = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user