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.
This commit is contained in:
Max Kellermann 2009-11-07 17:22:34 +01:00
parent c9f726048c
commit ec25cda68b

View File

@ -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) {