https://bugs.winehq.org/show_bug.cgi?id=41247
Bug ID: 41247 Summary: WASAPI exclusive pull mode sound doesn't work, but shared (non-exclusive) does Product: Wine Version: 1.9.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: markk@clara.co.uk Distribution: ---
Wine 1.9.17, Lubuntu 16.04 x86-64.
The current beta version of WinUAE (3.4.0 beta 4) uses WASAPI in pull mode. In Wine that works OK in shared (non-exclusive) mode, but exclusive mode does not work, giving console output like this: fixme:alsa:AudioClient_Initialize EXCLUSIVE mode with EVENTCALLBACK WASAPI: Initialize() 8889000A Sorry, can't initialize sound.
In contrast, WinUAE 3.3.0 uses WASAPI in push mode, and both exclusive and shared work fine there.
To reproduce: - Use winecfg to set Windows version to e.g. Windows 10. - Download and run the WinUAE 3.3.0 installer from http://www.winuae.net/files/InstallWinUAE3300.msi - Rename winuae.exe to winuae330.exe - Download WinUAE 3.4.0 beta 4 from http://www.winuae.net/files/b/winuae_3300b4.7z then unpack to the WinUAE program directory. - Download a program which plays sound, for example http://main.aminet.net/demo/euro/DOC_Demons.lha - Run winuae.exe (version 3.4.0b4): wine winuae.exe -log - When the WinUAE Properties window appears, click Floppy drives in the tree-view on the left side. Then click the "..." button to the right of DF0: and select DOC_Demons.lha - Click Sound in the tree-view on the left. By default the drop-down at the top should say "WASAPI: Default Audio Device", if not select that. - Click Start at the bottom of the window. - Part of the log output should say something like WASAPI: '{0.0.0.00000000}.{176D6B2F-F69E-497A-AE3D-15C5CEE27C79}' WASAPI: Shared Pull CH=2 FREQ=44100 BUF=2048 (4096) - Wait for the demo to load and start, and you should hear sound. - Press F12 to open the settings window. The sound page should be showing. Change the drop-down at the top to "WASAPI EX: Default Audio Device" then click OK at the bottom to continue emulation. There is no sound and this console output: fixme:alsa:AudioClient_Initialize EXCLUSIVE mode with EVENTCALLBACK WASAPI: Initialize() 8889000A Sorry, can't initialize sound.
https://bugs.winehq.org/show_bug.cgi?id=41247
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.winuae.net/files | |/b/winuae_3400b4.7z Keywords| |download, source CC| |markk@clara.co.uk
--- Comment #1 from Mark K markk@clara.co.uk --- Oops, correct URL for 3.4.0b4 is http://www.winuae.net/files/b/winuae_3400b4.7z
https://bugs.winehq.org/show_bug.cgi?id=41247
--- Comment #2 from Mark K markk@clara.co.uk --- The most recent WinUAE beta version: http://www.winuae.net/files/b/winuae_3400b19.7z
https://bugs.winehq.org/show_bug.cgi?id=41247
marlon.otto@outlook.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marlon.otto@outlook.de
--- Comment #3 from marlon.otto@outlook.de --- This issue is still visible in wine-7.0-rc3 (Staging)
0774:fixme:alsa:AudioSessionControl_UnregisterAudioSessionNotification (0x1641c4c0)->(0x16127b70) - stub 0774:fixme:alsa:AudioClient_Initialize EXCLUSIVE mode with EVENTCALLBACK 0774:fixme:alsa:AudioClient_Initialize EXCLUSIVE mode with EVENTCALLBACK Couldn't open the output device! 0774:fixme:alsa:AudioSessionControl_RegisterAudioSessionNotification (0x15fdb258)->(0x15f93740) - stub