winealsa: Remove superflous check.
This commit is contained in:
parent
e75d1b38b5
commit
c62ca5fced
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue