empathy r2634 - trunk/src



Author: xclaesse
Date: Sun Mar  8 20:18:15 2009
New Revision: 2634
URL: http://svn.gnome.org/viewvc/empathy?rev=2634&view=rev

Log:
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 <sjoerd simons collabora co uk>

Modified:
   trunk/src/empathy.c

Modified: trunk/src/empathy.c
==============================================================================
--- trunk/src/empathy.c	(original)
+++ trunk/src/empathy.c	Sun Mar  8 20:18:15 2009
@@ -455,6 +455,7 @@
 
 	empathy_gtk_init ();
 	g_set_application_name (_(PACKAGE_NAME));
+	g_setenv("PULSE_PROP_media.role", "phone", TRUE);
 
 	gst_init (&argc, &argv);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]