From 27a34fc50c3c51ebfc8bb3f30d09ccfed1712d2e Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sat, 24 Feb 2018 10:15:08 -0500 Subject: [PATCH] Swap input/output LEDs in Audio Interface --- src/core/AudioInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/AudioInterface.cpp b/src/core/AudioInterface.cpp index f134acf6..a9f2c39d 100644 --- a/src/core/AudioInterface.cpp +++ b/src/core/AudioInterface.cpp @@ -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(); }