diff options
author | Max Kellermann <max@duempel.org> | 2010-03-03 20:29:33 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-03-10 19:49:31 +0100 |
commit | e686d19154d8de8f9884cd768ef5e600991076ef (patch) | |
tree | 655e0cfc3577f98d20082ffe61f66aa7f81a55f7 /src/output_internal.h | |
parent | 762565e9d11b19534cff2d74715af0645f3885d8 (diff) | |
download | mpd-e686d19154d8de8f9884cd768ef5e600991076ef.tar.gz mpd-e686d19154d8de8f9884cd768ef5e600991076ef.tar.xz mpd-e686d19154d8de8f9884cd768ef5e600991076ef.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/output_internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/output_internal.h b/src/output_internal.h index 2a438c62f..06df9531b 100644 --- a/src/output_internal.h +++ b/src/output_internal.h @@ -76,6 +76,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? */ bool enabled; |