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)