http://bugs.winehq.org/show_bug.cgi?id=11544
--- Comment #1 from Alexander Nicolaysen Sørnes alex@thehandofagony.com 2008-03-11 19:23:38 --- Created an attachment (id=11328) --> (http://bugs.winehq.org/attachment.cgi?id=11328) Output with +dsalsa,+alsa,+wave
Turns out I was a bit wrong about the previous sound being played thing. What really happens is that the sond is delayed, so if you, say, pick up a resource and wait for 1-3 seconds, the sound is played.
The trace output does show several WODM_RESET messages being processed, and the following snippet repeated several times
trace:wave:wodWrite (0, 0x17ed10, 00000020); trace:wave:wodPlayer_ProcessMessages Received WINE_WM_HEADER 17ed10 trace:wave:wodPlayer_FeedDSP Setting time to elapse for 0x17ed10 to 4 trace:wave:wodPlayer_WriteMaxFrags Writing wavehdr 0x17ed10.0[4] trace:wave:wodPlayer_WriteMaxFrags dwWrittenTotal=4 trace:wave:wodPlayer_NotifyCompletions still playing 0x17ed10 (4/0) trace:wave:wodPlayer waiting 1ms (10,1) warn:wave:wodUpdatePlayedTotal Unexpected state (3) or delay (-1) while updating Total Played, resetting trace:wave:wodNotifyClient wMsg = 0x03bd dwParm1 = 17ED10 dwParam2 = 0000 trace:wave:ALSA_wodMessage (0, WODM_RESET, 7EDFB50B, 00000000, 00000000);