http://bugs.winehq.org/show_bug.cgi?id=28040
Summary: handle_underrun=1 hack causes IMMDevice::Activate to fail with PulseAudio Product: Wine Version: 1.3.26 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winealsa.drv AssignedTo: wine-bugs@winehq.org ReportedBy: hoehle@users.sourceforge.net
Given Andrew's past 1.3.25 commit 9ad60d1d143809c6ae477eb53e75c3dc93736e0e Date: Fri Aug 5 09:33:10 2011 -0500
winealsa.drv: Inject handle_underrun=1 setting for pulse-backed devices.
IMMDevice_Activate now fails when pulse is the default device. As a result, mmdevapi is unusable (=> no more sound) and unwary apps like dlls/mmdevapi/tests/render.c:test_session crash. dmix still works.
The console log is: ALSA lib pcm_pulse.c:855:(_snd_pcm_pulse_open) Unknown field handle_underrun warn:alsa:AUDDRV_GetAudioEndpoint Unable to open PCM "default": -22 (Invalid argument) render.c:141: Test failed: Activation failed with 80004005
I'm using Ubuntu Intrepid. Please don't tell me to update. That is not the solution.
Probably the interim hack should check the effect and revert to standard behaviour/configuration in case of an error.