[Pkg-voip-commits] r7039 - in /qutecom/trunk/debian: changelog patches/generic/fix-ring-pulseaudio.patch patches/series
cavedon-guest at alioth.debian.org
cavedon-guest at alioth.debian.org
Sat Apr 25 02:21:38 UTC 2009
Author: cavedon-guest
Date: Sat Apr 25 02:21:37 2009
New Revision: 7039
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7039
Log:
Add generic/fix-ring-pulseaudio.patch: fix notification sounds when pulseaudio is used.
Added:
qutecom/trunk/debian/patches/generic/fix-ring-pulseaudio.patch
Modified:
qutecom/trunk/debian/changelog
qutecom/trunk/debian/patches/series
Modified: qutecom/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/qutecom/trunk/debian/changelog?rev=7039&op=diff
==============================================================================
--- qutecom/trunk/debian/changelog (original)
+++ qutecom/trunk/debian/changelog Sat Apr 25 02:21:37 2009
@@ -4,9 +4,11 @@
* Update copyright with authors from
http://trac.qutecom.org/wiki/QuteComTeam.
* Add head/fix-ringing.patch (LP: #364907)
+ * Add generic/fix-ring-pulseaudio.patch: fix notification sounds when
+ pulseaudio is used.
* Allow DM upload.
- -- Ludovico Cavedon <ludovico.cavedon at gmail.com> Fri, 24 Apr 2009 00:17:07 -0700
+ -- Ludovico Cavedon <ludovico.cavedon at gmail.com> Fri, 24 Apr 2009 18:59:58 -0700
qutecom (2.2~rc3.dfsg1-5) unstable; urgency=low
Added: qutecom/trunk/debian/patches/generic/fix-ring-pulseaudio.patch
URL: http://svn.debian.org/wsvn/pkg-voip/qutecom/trunk/debian/patches/generic/fix-ring-pulseaudio.patch?rev=7039&op=file
==============================================================================
--- qutecom/trunk/debian/patches/generic/fix-ring-pulseaudio.patch (added)
+++ qutecom/trunk/debian/patches/generic/fix-ring-pulseaudio.patch Sat Apr 25 02:21:37 2009
@@ -1,0 +1,19 @@
+Index: qutecom-2.2~rc3.dfsg1/libs/sound/src/linux/alsa_sndfile.cpp
+===================================================================
+--- qutecom-2.2~rc3.dfsg1.orig/libs/sound/src/linux/alsa_sndfile.cpp 2009-04-24 18:56:11.000000000 -0700
++++ qutecom-2.2~rc3.dfsg1/libs/sound/src/linux/alsa_sndfile.cpp 2009-04-24 18:57:48.000000000 -0700
+@@ -301,11 +301,12 @@
+
+ /**
+ *
+- * If errcode != 0, log a message + snd_strerror and make a longjmp exit.
++ * If errcode < 0, log a message + snd_strerror and make a longjmp exit.
++ * Note: snd_pcm_hw_params_any() with Pulseaudio returns 1 for success!
+ *
+ */
+ static void check_alsa( int errcode, jmp_buf retbuff, char* message ) {
+- if( errcode != 0) {
++ if( errcode < 0) {
+ raise( retbuff, errcode,
+ "%s: %s", message, snd_strerror( errcode));
+ }
Modified: qutecom/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/qutecom/trunk/debian/patches/series?rev=7039&op=diff
==============================================================================
--- qutecom/trunk/debian/patches/series (original)
+++ qutecom/trunk/debian/patches/series Sat Apr 25 02:21:37 2009
@@ -10,6 +10,7 @@
generic/pixelfromat.patch
generic/libpurple_debug.patch
#generic/accept_certificate.patch
+generic/fix-ring-pulseaudio.patch
debian/cmake-noavformat.patch
debian/remove-extra-copying-file.patch
debian/cmake-force-fpic.patch
More information about the Pkg-voip-commits
mailing list