diff options
Diffstat (limited to 'src/mumble/AudioOutputSpeech.cpp')
-rw-r--r-- | src/mumble/AudioOutputSpeech.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mumble/AudioOutputSpeech.cpp b/src/mumble/AudioOutputSpeech.cpp index ee7426a1e..2903f57ad 100644 --- a/src/mumble/AudioOutputSpeech.cpp +++ b/src/mumble/AudioOutputSpeech.cpp @@ -335,7 +335,8 @@ bool AudioOutputSpeech::prepareSampleBuffer(unsigned int frameCount) { QByteArray qba = qlFrames.takeFirst(); if (umtType == MessageHandler::UDPVoiceCELTAlpha || umtType == MessageHandler::UDPVoiceCELTBeta) { - int wantversion = (umtType == MessageHandler::UDPVoiceCELTAlpha) ? Global::get().iCodecAlpha : Global::get().iCodecBeta; + int wantversion = (umtType == MessageHandler::UDPVoiceCELTAlpha) ? Global::get().iCodecAlpha + : Global::get().iCodecBeta; if ((p == &LoopUser::lpLoopy) && (!Global::get().qmCodecs.isEmpty())) { QMap< int, CELTCodec * >::const_iterator i = Global::get().qmCodecs.constEnd(); --i; |