aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output_control.c')
-rw-r--r--src/output_control.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/output_control.c b/src/output_control.c
index ac9394bd7..4724aeeea 100644
--- a/src/output_control.c
+++ b/src/output_control.c
@@ -103,6 +103,11 @@ void audio_output_play(struct audio_output *audioOutput,
ao_command_async(audioOutput, AO_COMMAND_PLAY);
}
+void audio_output_pause(struct audio_output *audioOutput)
+{
+ ao_command_async(audioOutput, AO_COMMAND_PAUSE);
+}
+
void audio_output_cancel(struct audio_output *audioOutput)
{
ao_command_async(audioOutput, AO_COMMAND_CANCEL);