winealsa.drv: Be less strict about wValidBitsPerSample.

This commit is contained in:
Andrew Eikum 2012-12-14 08:47:11 -06:00 committed by Alexandre Julliard
parent 9f9ff5528c
commit 4f32f8e185
1 changed files with 1 additions and 3 deletions

View File

@ -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 &&