From e686d19154d8de8f9884cd768ef5e600991076ef Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 3 Mar 2010 20:29:33 +0100 Subject: output: added option "always_on" for radio stations Did you ever accidently click "stop" while feeding a radio station? This option sets the output device to "pause" to disable the "close" method. It falls back to "pause" then, which is specific to the plugin. Some plugins implement it by feeding silence. --- src/output_all.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/output_all.h') diff --git a/src/output_all.h b/src/output_all.h index 8c3f1e80d..a579bf5f1 100644 --- a/src/output_all.h +++ b/src/output_all.h @@ -91,6 +91,13 @@ audio_output_all_open(const struct audio_format *audio_format, void audio_output_all_close(void); +/** + * Closes all audio outputs. Outputs with the "always_on" flag are + * put into pause mode. + */ +void +audio_output_all_release(void); + /** * Enqueue a #music_chunk object for playing, i.e. pushes it to a * #music_pipe. -- cgit v1.2.3