diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-06-28 17:00:47 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-06-28 17:00:47 +0300 |
commit | 31cbee870026058ce6cf48e853e907cb7d246f8f (patch) | |
tree | 256258c2f34b23c3b7afbb11e41ec334e9c76306 /packages/voip/mumble/files/higher_opus_complexity.patch | |
parent | cc4453cf520c36a34f9cf24c058b379c23479a47 (diff) |
mumble-scm (with my patches)
Diffstat (limited to 'packages/voip/mumble/files/higher_opus_complexity.patch')
-rw-r--r-- | packages/voip/mumble/files/higher_opus_complexity.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/voip/mumble/files/higher_opus_complexity.patch b/packages/voip/mumble/files/higher_opus_complexity.patch new file mode 100644 index 0000000..6a271ef --- /dev/null +++ b/packages/voip/mumble/files/higher_opus_complexity.patch @@ -0,0 +1,12 @@ +diff --git a/src/mumble/AudioInput.cpp b/src/mumble/AudioInput.cpp +index 62f6244e..afb95568 100644 +--- a/src/mumble/AudioInput.cpp ++++ b/src/mumble/AudioInput.cpp +@@ -95,6 +95,7 @@ AudioInput::AudioInput() : opusBuffer(g.s.iFramesPerPacket * (SAMPLE_RATE / 100) + } + + opus_encoder_ctl(opusState, OPUS_SET_VBR(0)); // CBR ++ opus_encoder_ctl(opusState, OPUS_SET_COMPLEXITY(10)); //common, this should work just fine on high end gamer machine (and on low and too ...) + #endif + + qWarning("AudioInput: %d bits/s, %d hz, %d sample", iAudioQuality, iSampleRate, iFrameSize); |