From cd5f11e941f4561c1796b99706f80093d154f704 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Thu, 14 May 2015 12:09:16 +0200 Subject: [PATCH] dmime: Properly set primary dsound buffer in IDirectMusicPerformance8Impl_CreateStandardAudioPath. Fixes a regression introduced by b3d1b1f239a5b534cd1b9a50fbfef32733b1911f. --- dlls/dmime/performance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dmime/performance.c b/dlls/dmime/performance.c index b8c37b0dcc6..38f68db61aa 100644 --- a/dlls/dmime/performance.c +++ b/dlls/dmime/performance.c @@ -1081,7 +1081,7 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_CreateStandardAudioPath(IDire create_dmaudiopath(&IID_IDirectMusicAudioPath, (void**)&pPath); set_audiopath_perf_pointer(pPath, iface); set_audiopath_dsound_buffer(pPath, buffer); - set_audiopath_primary_dsound_buffer(pPath, buffer); + set_audiopath_primary_dsound_buffer(pPath, primary_buffer); *ppNewPath = pPath;