Skip to content

Setup not adhereing to num of input channels #50

@fred-dev

Description

@fred-dev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions