parent
f87e435e70
commit
4d2893435d
@ -0,0 +1,22 @@ |
||||
diff -upr mumble-1.4.230.orig/plugins/HostLinux.cpp mumble-1.4.230/plugins/HostLinux.cpp
|
||||
--- mumble-1.4.230.orig/plugins/HostLinux.cpp 2022-01-19 20:37:55.538864686 +0100
|
||||
+++ mumble-1.4.230/plugins/HostLinux.cpp 2022-01-19 20:38:26.358999072 +0100
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <cstring>
|
||||
#include <sstream>
|
||||
|
||||
+#include <libgen.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
HostLinux::HostLinux(const procid_t pid) : m_pid(pid) {
|
||||
diff -upr mumble-1.4.230.orig/plugins/mumble_positional_audio_linux.h mumble-1.4.230/plugins/mumble_positional_audio_linux.h
|
||||
--- mumble-1.4.230.orig/plugins/mumble_positional_audio_linux.h 2022-01-19 20:37:55.545531381 +0100
|
||||
+++ mumble-1.4.230/plugins/mumble_positional_audio_linux.h 2022-01-19 20:38:45.419082181 +0100
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string>
|
||||
+#include <libgen.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
// This function returns:
|
@ -0,0 +1,17 @@ |
||||
diff -upr mumble-1.4.230.orig/src/mumble/AudioInput.cpp mumble-1.4.230/src/mumble/AudioInput.cpp
|
||||
--- mumble-1.4.230.orig/src/mumble/AudioInput.cpp 2022-01-19 20:46:46.821208697 +0100
|
||||
+++ mumble-1.4.230/src/mumble/AudioInput.cpp 2022-01-19 20:47:13.024658224 +0100
|
||||
@@ -32,11 +32,13 @@ extern "C" {
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
|
||||
+#ifdef USE_RNNOISE
|
||||
/// Clip the given float value to a range that can be safely converted into a short (without causing integer overflow)
|
||||
static short clampFloatSample(float v) {
|
||||
return static_cast< short >(std::min(std::max(v, static_cast< float >(std::numeric_limits< short >::min())),
|
||||
static_cast< float >(std::numeric_limits< short >::max())));
|
||||
}
|
||||
+#endif
|
||||
|
||||
void Resynchronizer::addMic(short *mic) {
|
||||
bool drop = false;
|
@ -0,0 +1,12 @@ |
||||
diff -upr mumble-1.4.230.orig/src/mumble/ALSAAudio.cpp mumble-1.4.230/src/mumble/ALSAAudio.cpp
|
||||
--- mumble-1.4.230.orig/src/mumble/ALSAAudio.cpp 2022-01-19 20:56:34.290426880 +0100
|
||||
+++ mumble-1.4.230/src/mumble/ALSAAudio.cpp 2022-01-19 20:56:52.313837957 +0100
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "Utils.h"
|
||||
|
||||
#include <alsa/asoundlib.h>
|
||||
-#include <sys/poll.h>
|
||||
+#include <poll.h>
|
||||
|
||||
#include "Global.h"
|
||||
|
Loading…
Reference in new issue