output/Thread: simplify the retry_audio_format declaration

This commit is contained in:
Max Kellermann 2016-12-13 21:34:43 +01:00
parent d44790b35f
commit 093cb475bb

View File

@ -161,9 +161,8 @@ AudioOutput::Open()
assert(filter_audio_format.IsValid());
out_audio_format = filter_audio_format.WithMask(config_audio_format);
const AudioFormat retry_audio_format = out_audio_format;
const auto retry_audio_format = out_audio_format =
filter_audio_format.WithMask(config_audio_format);
retry_without_dsd:
try {