I am using a device with 18 outputs, just very simple testing with the example-matrixMixer.
With these setup paramaters:
ofSoundStreamSettings settings;
settings.bufferSize = 256;
settings.numBuffers = 1;
settings.numInputChannels = 2;
settings.numOutputChannels = 2;
settings.sampleRate = 44100;
I get 18 channels of input on the matrix, despite requeting 2 (or any other number) as well as this warning:
[warning] ofSoundBuffer: resize(samples,val): channel count 18 is not consistent with sample count 512 (non-zero remainder)
However adding
cout<<ofToString(stream.getNumInputChannels())<< endl;
Reports the number of channels requested in the setup.
I have tested the normal ofSoundStream and this seems to adhere to the number of inputs and outputs set via ofSoundStreamSettings
I am using the current master branch.
I am using a device with 18 outputs, just very simple testing with the
example-matrixMixer.With these setup paramaters:
I get 18 channels of input on the matrix, despite requeting 2 (or any other number) as well as this warning:
[warning] ofSoundBuffer: resize(samples,val): channel count 18 is not consistent with sample count 512 (non-zero remainder)
However adding
cout<<ofToString(stream.getNumInputChannels())<< endl;Reports the number of channels requested in the setup.
I have tested the normal ofSoundStream and this seems to adhere to the number of inputs and outputs set via
ofSoundStreamSettingsI am using the current master branch.