[PATCH 2/2] winealsa: Check ValidBitsPerSample and support SND_PCM_FORMAT_S20_3LE.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Thu Jan 5 03:45:55 CST 2012


Now it's easy to add new formats.
My original goal was to check WAVE_FORMAT_EXTENSIBLE's  ValidBitsPerSample.
MSDN & blogs says that BitsPerSample MUST be a multiple of 8, and ValidBits may indicate the actual number of bits.
Let winmm be lenient and the modern mmdevapi be strict.

 Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-winealsa-Check-ValidBitsPerSample-and-support-SND_P.patch
Type: application/octet-stream
Size: 1412 bytes
Desc: 0005-winealsa-Check-ValidBitsPerSample-and-support-SND_P.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120105/e017adf1/attachment.obj>

More information about the wine-patches mailing list