aboutsummaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-24 15:22:30 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-24 15:22:30 +0000
commitb4dc15ac004d49a46cba1b88c1c5cdf8c12755ba (patch)
treea2a7baa26ca72039a27a5d05934e3ba0092212d7 /src/device.c
parent6856359f7cb8544bd51a141fea9eeab28e6d1b25 (diff)
downloadayatana-indicator-sound-b4dc15ac004d49a46cba1b88c1c5cdf8c12755ba.tar.gz
ayatana-indicator-sound-b4dc15ac004d49a46cba1b88c1c5cdf8c12755ba.tar.bz2
ayatana-indicator-sound-b4dc15ac004d49a46cba1b88c1c5cdf8c12755ba.zip
now using the source output
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/device.c b/src/device.c
index 79b7b50..bf4a543 100644
--- a/src/device.c
+++ b/src/device.c
@@ -123,10 +123,10 @@ device_sink_update (Device* self,
}
gint
-device_get_current_sink_input_index (Device* self)
+device_get_voip_source_output_index (Device* self)
{
DevicePrivate* priv = DEVICE_GET_PRIVATE (self);
- return voip_input_menu_item_get_sink_input_index (priv->voip_input_menu_item);
+ return voip_input_menu_item_get_source_output_index (priv->voip_input_menu_item);
}
static void
@@ -211,11 +211,11 @@ device_is_sink_populated (Device* self)
}
void
-device_activate_voip_item (Device* self, gint sink_input_index, gint client_index)
+device_activate_voip_item (Device* self, gint source_output_index, gint client_index)
{
DevicePrivate* priv = DEVICE_GET_PRIVATE (self);
if (voip_input_menu_item_is_interested (priv->voip_input_menu_item,
- sink_input_index,
+ source_output_index,
client_index)){
voip_input_menu_item_enable (priv->voip_input_menu_item, TRUE);
}