Package: mumble User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu natty ubuntu-patch Version: 1.2.3-1 Severity: wishlist
In Ubuntu, we've applied the attached patch to achieve the following: * debian/patches/01_set_pulseaudio_role.patch: set the pulseaudio role, thanks Conor Curran (lp: #727184) We thought you might be interested in doing the same.
diff -Nru mumble-1.2.3/debian/changelog mumble-1.2.3/debian/changelog --- mumble-1.2.3/debian/changelog 2011-02-19 23:15:30.000000000 +0100 +++ mumble-1.2.3/debian/changelog 2011-03-01 16:35:51.000000000 +0100 @@ -1,3 +1,10 @@ +mumble (1.2.3-1ubuntu1) natty; urgency=low + + * debian/patches/01_set_pulseaudio_role.patch: set the pulseaudio role, + thanks Conor Curran (lp: #727184) + + -- Sebastien Bacher <seb...@ubuntu.com> Tue, 01 Mar 2011 16:34:38 +0100 + mumble (1.2.3-1) unstable; urgency=low [ Patrick Matthäi ] diff -Nru mumble-1.2.3/debian/patches/01_set_pulseaudio_role.patch mumble-1.2.3/debian/patches/01_set_pulseaudio_role.patch --- mumble-1.2.3/debian/patches/01_set_pulseaudio_role.patch 1970-01-01 01:00:00.000000000 +0100 +++ mumble-1.2.3/debian/patches/01_set_pulseaudio_role.patch 2011-03-01 16:33:43.000000000 +0100 @@ -0,0 +1,15 @@ +# Description: set the correct pulseaudio role +# Author: Conor Curran <conor.cur...@canonical.com> +# Bug: http://sourceforge.net/support/tracker.php?aid=3196158 +--- mumble-1.2.3/src/mumble/PulseAudio.cpp 2011-03-01 14:34:33.611499657 +0000 ++++ mumble-1.2.3/src/mumble/PulseAudio.cpp 2011-03-01 13:01:23.283778706 +0000 +@@ -100,6 +100,8 @@ + pa_mainloop_api *api = pa_threaded_mainloop_get_api(pam); + + pacContext = pa_context_new(api, "Mumble"); ++ ++ setenv("PULSE_PROP_media.role", "phone", 1); + + pa_context_set_subscribe_callback(pacContext, subscribe_callback, this); + + diff -Nru mumble-1.2.3/debian/patches/series mumble-1.2.3/debian/patches/series --- mumble-1.2.3/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ mumble-1.2.3/debian/patches/series 2011-03-01 16:33:06.000000000 +0100 @@ -0,0 +1 @@ +01_set_pulseaudio_role.patch