From 6c2118ffc618f12bef2ceecc2d2cae26cd76678a Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Sun, 8 Mar 2009 20:18:15 +0000 Subject: Set empathy's media role to phone for so pulse can do policy on it Empathy's media role should be phone. Apart from voip calls the only sounds we make are event sounds via libcanberra, which correctly sets the role to event when playing a sound. For more information see: http://pulseaudio.org/wiki/ApplicationProperties From: Sjoerd Simons svn path=/trunk/; revision=2634 --- src/empathy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/empathy.c b/src/empathy.c index 3d19bce5a..a2115a6cf 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -455,6 +455,7 @@ main (int argc, char *argv[]) empathy_gtk_init (); g_set_application_name (_(PACKAGE_NAME)); + g_setenv("PULSE_PROP_media.role", "phone", TRUE); gst_init (&argc, &argv); -- cgit v1.2.3