aboutsummaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-05-18 11:45:49 +0200
committerConor Curran <conor.curran@canonical.com>2011-05-18 11:45:49 +0200
commite499cede95e1eab865286b450b0d927457467749 (patch)
treed2bd0dedd33c87233f2483d79b0c3910acb9ae28 /src/device.c
parent03d29626622fa8ede6f4e00960fffb8d89382f9f (diff)
parentb4dc15ac004d49a46cba1b88c1c5cdf8c12755ba (diff)
downloadayatana-indicator-sound-e499cede95e1eab865286b450b0d927457467749.tar.gz
ayatana-indicator-sound-e499cede95e1eab865286b450b0d927457467749.tar.bz2
ayatana-indicator-sound-e499cede95e1eab865286b450b0d927457467749.zip
source monitoring now happens even if the application is not voip specific therefore the voip slider has now become a generic mic input gain slider - hurray
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 a3e8019..84db596 100644
--- a/src/device.c
+++ b/src/device.c
@@ -124,10 +124,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
@@ -198,11 +198,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);
}