Browse Source

Increased audio channel limit to 8

tags/v0.3.0
Andrew Belt 7 years ago
parent
commit
081cb154cf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/core/AudioInterface.cpp

+ 2
- 2
src/core/AudioInterface.cpp View File

@@ -214,8 +214,8 @@ void AudioInterface::openDevice(int deviceId, float sampleRate, int blockSize) {
return;
}

numOutputs = mini(deviceInfo->maxOutputChannels, 2);
numInputs = mini(deviceInfo->maxInputChannels, 2);
numOutputs = mini(deviceInfo->maxOutputChannels, 8);
numInputs = mini(deviceInfo->maxInputChannels, 8);

PaStreamParameters outputParameters;
outputParameters.device = deviceId;


Loading…
Cancel
Save