[PATCH 1/2] winmm: Ignore broken nBlockAlign and AvgBytes within PCMWAVEFORMAT.
Joerg-Cyril.Hoehle at t-systems.com
Joerg-Cyril.Hoehle at t-systems.com
Thu Jan 5 03:31:03 CST 2012
Hi,
Back in 2009, I reported that I had listened native winmm play wav with broken nBlockAlign and AvgBytes.
I could never add the tests because Wine would not handle them correctly. Since
the winmm->mmdevapi rewrite, there's now a central place where to fix it.
The wBitsPerSample is unverified. I read in a MS blog that its behaviour depended very
much on sound card drivers, so I choose to be lenient instead of refusing it.
As a reaction, MS invented the WAVE EXTENSIBLE format with ValidBitsPerSample.
Regards,
Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-winmm-Ignore-broken-nBlockAlign-and-AvgBytes-within.patch
Type: application/octet-stream
Size: 1939 bytes
Desc: 0002-winmm-Ignore-broken-nBlockAlign-and-AvgBytes-within.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120105/48d6de46/attachment.obj>
More information about the wine-patches
mailing list