aboutsummaryrefslogtreecommitdiff
path: root/src/pulseaudio-mgr.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-16 13:16:17 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-16 13:16:17 +0000
commit58facf2f0db4e60a78f101c6d6273b4331981deb (patch)
tree908eff545add881018d8318d8e187c757a13865c /src/pulseaudio-mgr.c
parentd0ef5f9435e10d39baea01c9d240e4149a80944c (diff)
parenta893dae8a5ab7f5f02e8eb1d1db626c135b3383d (diff)
downloadayatana-indicator-sound-58facf2f0db4e60a78f101c6d6273b4331981deb.tar.gz
ayatana-indicator-sound-58facf2f0db4e60a78f101c6d6273b4331981deb.tar.bz2
ayatana-indicator-sound-58facf2f0db4e60a78f101c6d6273b4331981deb.zip
key shortcuts now working on voip slider
Diffstat (limited to 'src/pulseaudio-mgr.c')
-rw-r--r--src/pulseaudio-mgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulseaudio-mgr.c b/src/pulseaudio-mgr.c
index 8811bcf..95f4c06 100644
--- a/src/pulseaudio-mgr.c
+++ b/src/pulseaudio-mgr.c
@@ -483,7 +483,7 @@ pm_sink_input_info_callback (pa_context *c,
g_debug ("Sink input info has media role property");
const char* value = pa_proplist_gets (info->proplist, PA_PROP_MEDIA_ROLE);
g_debug ("prop role = %s", value);
- if (g_strcmp0 (value, "phone") == 0) {
+ if (g_strcmp0 (value, "phone") == 0 || g_strcmp0 (value, "production") == 0) {
g_debug ("And yes its a VOIP app ... sink input index = %i", info->index);
device_activate_voip_item (a_sink, (gint)info->index, (gint)info->client);
// TODO to start with we will assume our source is the same as what this 'client'