[msadp32 2/4] Stereo format (ms adpcm and block align size)

Stefano Guidoni s.guidoni at tin.it
Mon Feb 9 14:56:19 CST 2009

Block align size is proportional to the number of channels.

like the 
pcm format (2 bytes for mono, 4 bytes for stereo),  adpcm has double 
block-align size for stereo.
Since nAvgBytesPerSec is computed through 
nBlockAlign, this causes error (e.g. 44100 stereo has 44359 bytes/sec 
and not 44622 bytes/sec).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msadp32-stereo.bin
Type: application/octet-stream
Size: 845 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090209/d9d5057d/attachment-0001.bin 

More information about the wine-patches mailing list