Skip to content

Commit

Permalink
Syntax
Browse files Browse the repository at this point in the history
Co-Authored-By: Davide Beatrici <davidebeatrici@gmail.com>
  • Loading branch information
trudnorx and davidebeatrici committed Sep 19, 2019
1 parent 7737e6b commit 71eb446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mumble/AudioInput.cpp
Expand Up @@ -95,7 +95,7 @@ AudioInput::AudioInput() : opusBuffer(g.s.iFramesPerPacket * (SAMPLE_RATE / 100)
if (allowLowDelay && iAudioQuality >= 64000) { // >64kb/s bitrate and low delay allowed
opusState = oCodec->opus_encoder_create(SAMPLE_RATE, 1, OPUS_APPLICATION_RESTRICTED_LOWDELAY, NULL);
qWarning("AudioInput: Opus encoder set for low delay");
} else if (iAudioQuality >= 32000){ // >32kb/s bitrate
} else if (iAudioQuality >= 32000) { // > 32 Kbit/s bitrate
opusState = oCodec->opus_encoder_create(SAMPLE_RATE, 1, OPUS_APPLICATION_AUDIO, NULL);
qWarning("AudioInput: Opus encoder set for high quality speech");
} else {
Expand Down

0 comments on commit 71eb446

Please sign in to comment.