1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

winealsa: Remove superflous check.

This commit is contained in:
Fabian Maurer 2023-07-26 19:11:15 +02:00 committed by Alexandre Julliard
parent e75d1b38b5
commit c62ca5fced

View file

@ -2014,7 +2014,7 @@ exit:
if(params->result == S_FALSE && !params->fmt_out)
params->result = AUDCLNT_E_UNSUPPORTED_FORMAT;
if(params->result == S_FALSE && params->fmt_out) {
if(params->result == S_FALSE) {
closest->Format.nBlockAlign = closest->Format.nChannels * closest->Format.wBitsPerSample / 8;
closest->Format.nAvgBytesPerSec = closest->Format.nBlockAlign * closest->Format.nSamplesPerSec;
if(closest->Format.wFormatTag == WAVE_FORMAT_EXTENSIBLE)