Commit 4f32f8e1 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

winealsa.drv: Be less strict about wValidBitsPerSample.

parent 9f9ff552
......@@ -976,10 +976,8 @@ static snd_pcm_format_t alsa_format(const WAVEFORMATEX *fmt)
fmt->wBitsPerSample != fmtex->Samples.wValidBitsPerSample){
if(fmtex->Samples.wValidBitsPerSample == 20 && fmt->wBitsPerSample == 24)
format = SND_PCM_FORMAT_S20_3LE;
else{
else
WARN("Unsupported ValidBits: %u\n", fmtex->Samples.wValidBitsPerSample);
format = SND_PCM_FORMAT_UNKNOWN;
}
}
}else if(fmt->wFormatTag == WAVE_FORMAT_IEEE_FLOAT ||
(fmt->wFormatTag == WAVE_FORMAT_EXTENSIBLE &&
......
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