From d3db0484af6f7c95da77259cbd6c3e5d886e0662 Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Wed, 16 Jun 2021 10:38:54 +0100 Subject: [PATCH] Another opus fix --- audiohandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audiohandler.cpp b/audiohandler.cpp index 515117b..4cf1350 100644 --- a/audiohandler.cpp +++ b/audiohandler.cpp @@ -491,9 +491,9 @@ void audioHandler::incomingAudio(audioPacket inPacket) } else { outPacket.resize(nbBytes); + qInfo(logAudio()) << (setup.isinput ? "Input" : "Output") << "Opus decoded" << inPacket.data.length() << "bytes, into" << outPacket.length() << "bytes"; inPacket.data.clear(); inPacket.data = outPacket; // Replace incoming data with converted. - qInfo(logAudio()) << (setup.isinput ? "Input" : "Output") << "Opus decoded" << inPacket.data.length() << "bytes, into" << outPacket.length() << "bytes"; } } @@ -688,9 +688,9 @@ void audioHandler::getNextAudioChunk(QByteArray& ret) } else { outPacket.resize(nbBytes); + qInfo(logAudio()) << (setup.isinput ? "Input" : "Output") << "Opus encoded" << packet.data.length() << "bytes, into" << outPacket.length() << "bytes"; packet.data.clear(); packet.data = outPacket; // Replace incoming data with converted. - qInfo(logAudio()) << (setup.isinput ? "Input" : "Output") << "Opus encoded" << packet.data.length() << "bytes, into" << outPacket.length() << "bytes"; } }