[PATCH 1/4] mmdevapi: Enforce limits on period and duration.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Mon Dec 19 11:39:34 CST 2011


Hi,

the patch catches shared mode very well, however it appears that exclusive mode
exhibits vastly different behavior from one machine to the next.  As WASAPI is
MS' low(est)-level audio API, the observable behavior appears to really depend
on the individual HW drivers.  Examples:

The 8x multiplier is observable with testbot.
One particular native w7 native machine (no vmware) does not know that multiplier
and is clamping to max 32768 frames instead.  That machine seems to use 1024 frames
as multiplier for buffer size, i.e. 21.333ms -- which reminds me of ALSA's dmix.
Furthermore, its GetCurrentPadding seems to return continuous values.  GetPosition
follows GCP (like winecoreaudio.drv now does), whereas (several VMs on) testbot
exhibit period-sized deltas in GCP -- like in shared mode.

IOW, exclusive mode shows quite a range of different behaviours.
Wine just has to choose one.

Regards,
	Jörg Höhle


More information about the wine-devel mailing list