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_internal.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/output_internal.h') diff --git a/src/output_internal.h b/src/output_internal.h index 2a438c62..06df9531 100644 --- a/src/output_internal.h +++ b/src/output_internal.h @@ -75,6 +75,12 @@ struct audio_output { */ struct mixer *mixer; + /** + * Shall this output always play something (i.e. silence), + * even when playback is stopped? + */ + bool always_on; + /** * Has the user enabled this device? */ -- cgit v1.2.3