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:
parent
c9f726048c
commit
ec25cda68b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user