mmdevapi/tests: Fix wrong buffer unit and memory leaks.

Joerg-Cyril.Hoehle at Joerg-Cyril.Hoehle at
Mon Jun 6 03:31:27 CDT 2011


>* nBlockAlign is wrong since data is counted in frames, not bytes.
I forgot to comment that I introduced the 10x multiplicator to
convince myself that GetData accepts buffer sizes larger than the
default 10ms chunk returned by GetDevicePeriod.  That is reasonable, but
not guaranteed when I read MSDN (the API would work with small buffers too).

	Jörg Höhle

More information about the wine-devel mailing list