http://bugs.winehq.org/show_bug.cgi?id=27955
Summary: Warspear Online sound stops after a while (Pulseaudio + patched alsa-plugins) Product: Wine Version: 1.3.25 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: cymerio@gmail.com
Created an attachment (id=35770) --> (http://bugs.winehq.org/attachment.cgi?id=35770) log file with WINEDEBUG="+tid,+mmdevapi,+winmm,+dsound,+oss,+alsa,+coreaudio"
After having sound for a while, usually seconds, the game Warspear Online stops playing sounds. Just playing a little with the buttons in the menu triggers the issue. Of course this behavior differs from Windows XP, where all the sounds play OK.
Using OpenSUSE 11.4, which comes with Pulseaudio 0.9.22, alsa 1.0.24, kernel 2.6.37, etc. Using the "soundcard" from a NVIDIA GT240 which passes the sound through HDMI.
I don't remember having sound problems before (with other apps/games) with this setup. This is my first time trying this app on Wine.
I tried changing hardware/emulation in winecfg and changing sample rate from 48000 to 44100, with no effect (same symptoms). There is only one sound device selected.
At first I though it was the alsa-plugins bug that it's mentioned in the wiki, but I already applied this patch: http://git.alsa-project.org/?p=alsa-plugins.git;a=commit;h=e1661e3daa22cfed6...
The game can be downloaded at: http://warspear-online.com/files/warspear.exe (8MB file)
How to reproduce: Run the app, click MENU, Settings, then click repeatedly the top right arrow, or other random buttons for a while (try to vary a little, e.g. click Cancel, then Menu another time, repeat). Every button should make a short sound. After a while clicking buttons, the app doesn't make sounds anymore. Alternatively, play the game for a while. Every skill should make sounds, plus there should be ambient noise.
My registry has the following keys:
[Software\Wine\Alsa Driver] 1304101305 "AutoScanDevices"="N" "DeviceCount"="1" "DeviceCTL1"="hw:0" "DevicePCM1"="pulse" "UseDirectHW"="N"
My .asoundrc:
pcm.pulse { type pulse }
ctl.pulse { type pulse }
pcm.!default { type pulse # If defaults.namehint.showall is set to off in alsa.conf, then this is # necessary to make this pcm show up in the list returned by # snd_device_name_hint or aplay -L hint.description "Default Audio Device" } ctl.!default { type pulse }
pcm.wine { type asym playback.pcm "hw:0,3" capture.pcm "hw:0,3" }
pcm.pulse_monitor { type pulse device alsa_output.hw_0_3.monitor }
ctl.pulse_monitor { type pulse device alsa_output.hw_0_3.monitor }
pcm.usbmic { type rate slave { pcm "hw:1,0" #rate 48000 } converter "samplerate_best" }