This is an automated email from the git hooks/post-receive script. rlaboiss-guest pushed a commit to branch master in repository praat.
commit 7be5bdf4bab2f7625d28ba186cc58d9c529420e8 Author: Rafael Laboissiere <[email protected]> Date: Thu Aug 7 07:47:30 2014 -0300 debian/patches/pulseaudio-latency.patch: New patch --- debian/patches/pulseaudio-latency.patch | 24 ++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 25 insertions(+) diff --git a/debian/patches/pulseaudio-latency.patch b/debian/patches/pulseaudio-latency.patch new file mode 100644 index 0000000..bf26078 --- /dev/null +++ b/debian/patches/pulseaudio-latency.patch @@ -0,0 +1,24 @@ +Description: Avoid freezing problems under PulseAudio + This patch avoids the freezing of the Praat GUI, which seems to be + assoociated with the huge number of ALSA error/warning messages like + this, when running Praat under PulseAudio: + . + ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred + . + This problem seems to have been introduced after the upstream version + 5.3.57, which is the last version packaged for Debian. The + workaround is just to set the environment variable PULSE_LATENCY_MSEC + before initializing Praat. +Author: Rafael Laboissiere <[email protected]> +Last-Update: <2014-08-07> + +--- praat-5.3.82.orig/main/main_Praat.cpp ++++ praat-5.3.82/main/main_Praat.cpp +@@ -50,6 +50,7 @@ int main (int argc, char *argv []) { ++ setenv ("PULSE_LATENCY_MSEC", "1", 0); + praat_init ("Praat", argc, argv); + INCLUDE_LIBRARY (praat_uvafon_init) + INCLUDE_LIBRARY (praat_contrib_Ola_KNN_init) + praat_run (); + } catch (MelderError) { + Melder_flushError ("This error message percolated all the way to the top."); // an attempt to catch Apache errors diff --git a/debian/patches/series b/debian/patches/series index 5458732..4fb9a3c 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ use-ldflags.patch +pulseaudio-latency.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/praat.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
