[PATCH 5/6] wineoss.drv: Support new AUDCLNT_* creation flags.
rbernon at codeweavers.com
Fri Jul 10 07:53:46 CDT 2020
These flags as used by several Call of Duty games and it fails to
initialize the AudioClient, causing missing sound in game.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
dlls/wineoss.drv/mmdevdrv.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/wineoss.drv/mmdevdrv.c b/dlls/wineoss.drv/mmdevdrv.c
index a08e7f561b5..0c97b85f3a9 100644
@@ -1055,8 +1055,10 @@ static HRESULT WINAPI AudioClient_Initialize(IAudioClient *iface,
- TRACE("Unknown flags: %08x\n", flags);
+ AUDCLNT_SESSIONFLAGS_DISPLAY_HIDEWHENEXPIRED |
+ AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY |
+ FIXME("Unknown flags: %08x\n", flags);
More information about the wine-devel