summaryrefslogtreecommitdiff
path: root/backends/pulse/pulse-monitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/pulse/pulse-monitor.h')
-rw-r--r--backends/pulse/pulse-monitor.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/backends/pulse/pulse-monitor.h b/backends/pulse/pulse-monitor.h
index b3f6f89..41147f5 100644
--- a/backends/pulse/pulse-monitor.h
+++ b/backends/pulse/pulse-monitor.h
@@ -63,21 +63,18 @@ GType pulse_monitor_get_type (void) G_GNUC_CONST;
PulseMonitor *pulse_monitor_new (pa_context *context,
pa_proplist *proplist,
+ const gchar *name,
guint32 index_source,
guint32 index_sink_input);
-gboolean pulse_monitor_enable (PulseMonitor *monitor);
-void pulse_monitor_disable (PulseMonitor *monitor);
-gboolean pulse_monitor_is_enabled (PulseMonitor *monitor);
+gboolean pulse_monitor_get_enabled (PulseMonitor *monitor);
+gboolean pulse_monitor_set_enabled (PulseMonitor *monitor,
+ gboolean enabled);
const gchar * pulse_monitor_get_name (PulseMonitor *monitor);
gboolean pulse_monitor_set_name (PulseMonitor *monitor,
const gchar *name);
-gboolean pulse_monitor_update_index (PulseMonitor *monitor,
- guint32 index_source,
- guint32 index_sink_input);
-
G_END_DECLS
#endif /* PULSE_MONITOR_H */