winealsa.drv: Be less strict about wValidBitsPerSample.
This commit is contained in:
parent
9f9ff5528c
commit
4f32f8e185
|
@ -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 &&
|
||||
|
|
Loading…
Reference in New Issue