From 1b6cff85f4ce04178c2d6a4c4b6d2ba79ba1b42c Mon Sep 17 00:00:00 2001 From: Elliott Liggett Date: Wed, 14 Sep 2022 18:15:20 -0700 Subject: [PATCH] Removed audio volume logging. --- audiohandler.cpp | 1 - pahandler.cpp | 3 --- rthandler.cpp | 3 --- 3 files changed, 7 deletions(-) diff --git a/audiohandler.cpp b/audiohandler.cpp index 3f68bd8..2244960 100644 --- a/audiohandler.cpp +++ b/audiohandler.cpp @@ -230,7 +230,6 @@ void audioHandler::stop() void audioHandler::setVolume(unsigned char volume) { this->volume = audiopot[volume]; - qDebug(logAudio()) << (setup.isinput ? "Input" : "Output") << "setVolume: " << volume << "(" << this->volume << ")"; } diff --git a/pahandler.cpp b/pahandler.cpp index d27886c..a3c4860 100644 --- a/pahandler.cpp +++ b/pahandler.cpp @@ -214,14 +214,11 @@ bool paHandler::init(audioSetup setup) void paHandler::setVolume(unsigned char volume) { - #ifdef Q_OS_WIN this->volume = audiopot[volume] * 5; #else this->volume = audiopot[volume]; #endif - - qInfo(logAudio()) << (setup.isinput ? "Input" : "Output") << "setVolume: " << volume << "(" << this->volume << ")"; } void paHandler::incomingAudio(audioPacket packet) diff --git a/rthandler.cpp b/rthandler.cpp index b203402..f1d7313 100644 --- a/rthandler.cpp +++ b/rthandler.cpp @@ -253,10 +253,7 @@ errorHandler: void rtHandler::setVolume(unsigned char volume) { - this->volume = audiopot[volume]; - - qInfo(logAudio()) << (setup.isinput ? "Input" : "Output") << "setVolume: " << volume << "(" << this->volume << ")"; } void rtHandler::incomingAudio(audioPacket packet)