From ec25cda68bf4f71de24c067775660781d885843c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 7 Nov 2009 17:22:34 +0100 Subject: output_all: automatically attempt to re-enable failed outputs When an output's enable() method has failed, and playback starts, retry to enable it. Without this, the user may be confused, because he sees the device is "enabled" but cannot use it, and currently there is no error message in the log. --- src/output_all.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/output_all.c b/src/output_all.c index 7c411f14f..5b7cc4908 100644 --- a/src/output_all.c +++ b/src/output_all.c @@ -327,6 +327,7 @@ audio_output_all_open(const struct audio_format *audio_format, input_audio_format = *audio_format; audio_output_all_reset_reopen(); + audio_output_all_enable_disable(); audio_output_all_update(); for (i = 0; i < num_audio_outputs; ++i) { -- cgit v1.2.3