diff options
-rw-r--r-- | packages/voip/mumble/files/higher_opus_complexity.patch | 12 | ||||
-rw-r--r-- | packages/voip/mumble/mumble-scm.exheres-0 | 3 |
2 files changed, 9 insertions, 6 deletions
diff --git a/packages/voip/mumble/files/higher_opus_complexity.patch b/packages/voip/mumble/files/higher_opus_complexity.patch index 6a271ef..c1f37d0 100644 --- a/packages/voip/mumble/files/higher_opus_complexity.patch +++ b/packages/voip/mumble/files/higher_opus_complexity.patch @@ -1,12 +1,12 @@ diff --git a/src/mumble/AudioInput.cpp b/src/mumble/AudioInput.cpp -index 62f6244e..afb95568 100644 +index 38d12dff6..f89f62633 100644 --- a/src/mumble/AudioInput.cpp +++ b/src/mumble/AudioInput.cpp -@@ -95,6 +95,7 @@ AudioInput::AudioInput() : opusBuffer(g.s.iFramesPerPacket * (SAMPLE_RATE / 100) - } +@@ -100,6 +100,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 ...) + oCodec->opus_encoder_ctl(opusState, OPUS_SET_VBR(0)); // CBR ++ oCodec->opus_encoder_ctl(opusState, OPUS_SET_COMPLEXITY(10)); // more efficient comression + } #endif - qWarning("AudioInput: %d bits/s, %d hz, %d sample", iAudioQuality, iSampleRate, iFrameSize); diff --git a/packages/voip/mumble/mumble-scm.exheres-0 b/packages/voip/mumble/mumble-scm.exheres-0 index 29b614e..effa47c 100644 --- a/packages/voip/mumble/mumble-scm.exheres-0 +++ b/packages/voip/mumble/mumble-scm.exheres-0 @@ -16,6 +16,7 @@ SCM_EXTERNAL_REFS=" 3rdparty/minhook-src:minhook 3rdparty/mach-override-src:machoverride 3rdparty/speexdsp-src:speexdsp + 3rdparty/rnnoise-src:rnnoise themes/Mumble:mumblethemes 3rdparty/celt-0.7.0-src:celt07 " @@ -34,6 +35,7 @@ SCM_SECONDARY_REPOSITORIES=" machoverride speexdsp mumblethemes + rnnoise celt07sbcelt " @@ -46,6 +48,7 @@ SCM_minhook_REPOSITORY="https://github.com/mumble-voip/minhook.git" SCM_machoverride_REPOSITORY="https://github.com/mumble-voip/mach_override.git" SCM_speexdsp_REPOSITORY="https://github.com/mumble-voip/speexdsp.git" SCM_mumblethemes_REPOSITORY="https://github.com/mumble-voip/mumble-theme.git" +SCM_rnnoise_REPOSITORY="https://github.com/mumble-voip/rnnoise.git" SCM_celt07sbcelt_REPOSITORY="https://git.xiph.org/celt.git/" require scm-git \ |