Commit e75d1b38 authored by Fabian Maurer's avatar Fabian Maurer Committed by Alexandre Julliard

wineoss: Remove superflous check.

parent 4d1ad4f9
...@@ -551,7 +551,7 @@ static HRESULT setup_oss_device(AUDCLNT_SHAREMODE share, int fd, ...@@ -551,7 +551,7 @@ static HRESULT setup_oss_device(AUDCLNT_SHAREMODE share, int fd,
if(ret == S_FALSE && !out) if(ret == S_FALSE && !out)
ret = AUDCLNT_E_UNSUPPORTED_FORMAT; ret = AUDCLNT_E_UNSUPPORTED_FORMAT;
if(ret == S_FALSE && out){ if(ret == S_FALSE){
closest->Format.nBlockAlign = closest->Format.nBlockAlign =
closest->Format.nChannels * closest->Format.wBitsPerSample / 8; closest->Format.nChannels * closest->Format.wBitsPerSample / 8;
closest->Format.nAvgBytesPerSec = closest->Format.nAvgBytesPerSec =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment