winmm: dwBytesRecorded controls how much is played, not dwBufferLength.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Fri Feb 19 07:59:10 CST 2010


Hi,

This accounts for observation #1 in bug #21643, comment #8.
Funny how it could remain unnoticed for years that dwBytesRecorded
governs the number of bytes to play, not dwBufferLength.
So it was worthwhile to analyse in detail the logs from the Pikachu
Volleyball application.

The tests that prove the validity of these (and other) changes,
already sent to Paul Vriens, I'm delaying until Monday given that I
need to account for the difference among win98 and w2k in the
unrelated MEVT_CALLBACK tests (WTB job 776) that I've added.

Yet it would be useful to have this patch in today's release.

I've not investigated the WAVEHDR behaviour w.r.t. BytesRecorded.

Regards,
	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-dwBytesRecorded.patch
Type: application/octet-stream
Size: 2267 bytes
Desc: 0002-dwBytesRecorded.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100219/53c14934/attachment.obj>


More information about the wine-patches mailing list