output/Thread: remove a useless out_audio_format setting

Now that I can see the Reopen() method clearly, it is obvious that the
out_audio_format setting will get overwritten by the following Open()
call.
This commit is contained in:
Max Kellermann 2016-12-13 20:43:29 +01:00
parent b5b268f606
commit df91f3738a

View File

@ -291,13 +291,6 @@ AudioOutput::Reopen()
if (!config_audio_format.IsFullyDefined()) {
Close(true);
/* no audio format is configured: copy in->out, let
the output's open() method determine the effective
out_audio_format */
out_audio_format = in_audio_format;
out_audio_format.ApplyMask(config_audio_format);
Open();
} else
/* the audio format has changed, and all filters have