[Bug 41247] New: WASAPI exclusive pull mode sound doesn't work, but shared (non-exclusive) does

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 1 12:42:13 CDT 2016


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 at winehq.org
          Reporter: markk at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list