Browse Source

Swap input/output LEDs in Audio Interface

tags/v0.6.0
Andrew Belt 6 years ago
parent
commit
e4eaf22b87
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/core/AudioInterface.cpp

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

@@ -204,9 +204,9 @@ void AudioInterface::step() {
}

for (int i = 0; i < INPUTS / 2; i++)
lights[INPUT_LIGHT + i].value = (audioIO.numInputs >= 2*i+1);
lights[INPUT_LIGHT + i].value = (audioIO.numOutputs >= 2*i+1);
for (int i = 0; i < OUTPUTS / 2; i++)
lights[OUTPUT_LIGHT + i].value = (audioIO.numOutputs >= 2*i+1);
lights[OUTPUT_LIGHT + i].value = (audioIO.numInputs >= 2*i+1);

audioIO.audioCv.notify_all();
}


Loading…
Cancel
Save