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

wineoss: Remove superflous check.

This commit is contained in:
Fabian Maurer 2023-06-20 19:58:53 +02:00 committed by Alexandre Julliard
parent 4d1ad4f975
commit e75d1b38b5

View file

@ -551,7 +551,7 @@ static HRESULT setup_oss_device(AUDCLNT_SHAREMODE share, int fd,
if(ret == S_FALSE && !out)
ret = AUDCLNT_E_UNSUPPORTED_FORMAT;
if(ret == S_FALSE && out){
if(ret == S_FALSE){
closest->Format.nBlockAlign =
closest->Format.nChannels * closest->Format.wBitsPerSample / 8;
closest->Format.nAvgBytesPerSec =