Commit 25bb2ef4 authored by pbethge's avatar pbethge
Browse files

use the correct number of input channels

parent 6304c262
......@@ -68,7 +68,7 @@ void ofApp::setup() {
settings.setInListener(this);
settings.sampleRate = sampleRate;
settings.numOutputChannels = 0;
settings.numInputChannels = device.inputChannels;
settings.numInputChannels = inputChannel+1;
settings.bufferSize = bufferSize;
if(!soundStream.setup(settings)) {
ofLogError(PACKAGE) << "audio input device " << inputDevice << " setup failed";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment