aboutsummaryrefslogtreecommitdiff
path: root/src/output_control.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/output_control.h')
-rw-r--r--src/output_control.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/output_control.h b/src/output_control.h
index 72e3ed46..b2e48fa8 100644
--- a/src/output_control.h
+++ b/src/output_control.h
@@ -41,6 +41,18 @@ audio_output_init(struct audio_output *ao, const struct config_param *param,
GError **error_r);
/**
+ * Enables the device.
+ */
+void
+audio_output_enable(struct audio_output *ao);
+
+/**
+ * Disables the device.
+ */
+void
+audio_output_disable(struct audio_output *ao);
+
+/**
* Opens or closes the device, depending on the "enabled" flag.
*
* @return true if the device is open