WINMM problem with Half-Life

Eric Pouech pouech-eric at wanadoo.fr
Tue Jan 20 13:53:45 CST 2004


Mike McCormack a écrit :
> Hi Eric,
> 
> After implementing the ICCVID codec, the intro AVI in Half-Life plays 
> nicely, however when it finishes, WinMM gets stuck in a loop while 
> cleaning up in MCIAVI_mciPlay.
> 
> I think it's trying to wait for the sound to finish, however I'm not 
> sure how to fix the problem.  The patch below makes it work, but I'm not 
> sure what bad side effects it will have...
> 
> Any ideas?
as an ugly hack, does setting the dwEventCount in the WINE_MCIAVI struct 
as volatile help ? (private_mciavi.h).


A+




More information about the wine-devel mailing list