http://bugs.winehq.org/show_bug.cgi?id=11544
Summary: Audio problems with Heroes II and ALSA Driver Product: Wine Version: 0.9.55. Platform: PC URL: http://appdb.winehq.org/objectManager.php?sClass=applica tion&iId=2402 OS/Version: other Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: alex@thehandofagony.com
When using the ALSA driver with Heroes of Might and Magic II, there are two major sound problems, probably related:
- Audio/Video is not syncronized in films: the audio lags behind - When playing, the audio lags behind in such a way that when a sound effect is played, you hear the one that was supposed to be played previously. For example, the first sound effect in the game is replaced by a segment of the intro film music. Next time a sound effect is to be played it will be the one previously replaced by the film music segment, and so on.
With the OSS driver everything works fine (and ALSA works fine for other games). The background MIDI music plays as it should.
Sound card: SoundBlaster Audigy 2 ZS, emu10k1 driver
There is a demo version of the game; although it does not have films it might be helpful.
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);
http://bugs.winehq.org/show_bug.cgi?id=11544
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com 2008-12-17 14:29:37 --- http://www.thehandofagony.com/alex/heroes2demo/h2demo.exe
Seems to work fine here.
http://bugs.winehq.org/show_bug.cgi?id=11544
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2008-12-20 09:03:45 --- Closing bugs fixed in 1.1.11.