diff options
Diffstat (limited to 'src/output_control.h')
-rw-r--r-- | src/output_control.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/output_control.h b/src/output_control.h index ce3abe3f6..692c11676 100644 --- a/src/output_control.h +++ b/src/output_control.h @@ -38,7 +38,19 @@ audio_output_quark(void) bool audio_output_init(struct audio_output *ao, const struct config_param *param, - GError **error); + 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. @@ -55,6 +67,9 @@ audio_output_play(struct audio_output *ao); void audio_output_pause(struct audio_output *ao); +void +audio_output_drain_async(struct audio_output *ao); + void audio_output_cancel(struct audio_output *ao); void audio_output_close(struct audio_output *ao); void audio_output_finish(struct audio_output *ao); |