From f51f91afafa16ade2b4306e7975d160e1e12d3c0 Mon Sep 17 00:00:00 2001 From: Elliott Liggett Date: Mon, 5 Jul 2021 23:24:35 -0700 Subject: [PATCH] Applying setup.volume within audio handler if the audio handled is an output. Added this to the init function. --- audiohandler.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/audiohandler.cpp b/audiohandler.cpp index f051830..0f8f0f7 100644 --- a/audiohandler.cpp +++ b/audiohandler.cpp @@ -76,7 +76,10 @@ bool audioHandler::init(audioSetup setupIn) tempBuf.sent = 0; - + if(!setup.isinput) + { + this->setVolume(setup.localAFgain); + } #if defined(RTAUDIO) #if !defined(Q_OS_MACX)