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/player_thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/player_thread.c') diff --git a/src/player_thread.c b/src/player_thread.c index 3e234c4ff..2496f0cdb 100644 --- a/src/player_thread.c +++ b/src/player_thread.c @@ -978,7 +978,7 @@ static gpointer player_task(G_GNUC_UNUSED gpointer arg) case PLAYER_COMMAND_CLOSE_AUDIO: player_unlock(); - audio_output_all_close(); + audio_output_all_release(); player_lock(); player_command_finished_locked(); -- cgit v1.2.3