Commit c6312990 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

winealsa.drv: Be less choosey about sample rates.

parent a93efd53
......@@ -1146,12 +1146,7 @@ static HRESULT WINAPI AudioClient_IsFormatSupported(IAudioClient *iface,
goto exit;
}
if(fmt->nSamplesPerSec < min || fmt->nSamplesPerSec > max ||
(fmt->nSamplesPerSec != 48000 &&
fmt->nSamplesPerSec != 44100 &&
fmt->nSamplesPerSec != 22050 &&
fmt->nSamplesPerSec != 11025 &&
fmt->nSamplesPerSec != 8000)){
if(fmt->nSamplesPerSec < min || fmt->nSamplesPerSec > max){
hr = AUDCLNT_E_UNSUPPORTED_FORMAT;
goto exit;
}
......
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