[PATCH 4/6] winecoreaudio.drv: Support new AUDCLNT_* creation flags.
rbernon at codeweavers.com
Fri Jul 10 07:53:45 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/winecoreaudio.drv/mmdevdrv.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/winecoreaudio.drv/mmdevdrv.c b/dlls/winecoreaudio.drv/mmdevdrv.c
index acfa01c3d62..860d33fa3ba 100644
@@ -1323,8 +1323,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