summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/rdesktop-1.8.3.local.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/rdesktop-1.8.3.local.patch b/patches/rdesktop-1.8.3.local.patch
new file mode 100644
index 00000000..8a6d5cbd
--- /dev/null
+++ b/patches/rdesktop-1.8.3.local.patch
@@ -0,0 +1,21 @@
+diff -ru rdesktop-1.8.3.orig/rdpsnd_alsa.c rdesktop-1.8.3/rdpsnd_alsa.c
+--- rdesktop-1.8.3.orig/rdpsnd_alsa.c 2015-08-21 08:24:23.000000000 +0200
++++ rdesktop-1.8.3/rdpsnd_alsa.c 2018-11-01 20:53:55.216422142 +0100
+@@ -218,7 +218,7 @@
+ #endif
+
+ rate = pwfx->nSamplesPerSec;
+- if ((err = snd_pcm_hw_params_set_rate_near(pcm, hwparams, &rate, 0)) < 0)
++ if ((err = __snd_pcm_hw_params_set_rate_near(pcm, hwparams, &rate, 0)) < 0)
+ {
+ error("snd_pcm_hw_params_set_rate_near: %s\n", snd_strerror(err));
+ return False;
+@@ -233,7 +233,7 @@
+
+
+ buffertime = 500000; /* microseconds */
+- if ((err = snd_pcm_hw_params_set_buffer_time_near(pcm, hwparams, &buffertime, 0)) < 0)
++ if ((err = __snd_pcm_hw_params_set_buffer_time_near(pcm, hwparams, &buffertime, 0)) < 0)
+ {
+ error("snd_pcm_hw_params_set_buffer_time_near: %s\n", snd_strerror(err));
+ return False;