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:
parent
b5b268f606
commit
df91f3738a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user