Module: wine Branch: master Commit: cd5f11e941f4561c1796b99706f80093d154f704 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cd5f11e941f4561c1796b99706...
Author: Sebastian Lackner sebastian@fds-team.de Date: Thu May 14 12:09:16 2015 +0200
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 b8c37b0..38f68db 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;