https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e467e5ff1b2cd88725c74a135d0e8621bcaa3ec4

commit e467e5ff1b2cd88725c74a135d0e8621bcaa3ec4
Author:     Amine Khaldi <[email protected]>
AuthorDate: Sun May 27 03:59:04 2018 +0100
Commit:     Amine Khaldi <[email protected]>
CommitDate: Sun May 27 03:59:04 2018 +0100

    [DMUSIC] Sync with Wine Staging 3.9. CORE-14656
---
 dll/directx/wine/dmusic/port.c | 4 ++--
 media/doc/README.WINE          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dll/directx/wine/dmusic/port.c b/dll/directx/wine/dmusic/port.c
index 50646153a7..713175650b 100644
--- a/dll/directx/wine/dmusic/port.c
+++ b/dll/directx/wine/dmusic/port.c
@@ -510,7 +510,7 @@ static HRESULT WINAPI 
synth_dmport_SetDirectSound(IDirectMusicPort *iface, IDire
             This->parent->dsound = NULL;
     }
     if (This->dsbuffer)
-        IDirectSound_Release(This->dsbuffer);
+        IDirectSoundBuffer_Release(This->dsbuffer);
 
     This->dsound = dsound;
     This->dsbuffer = dsbuffer;
@@ -518,7 +518,7 @@ static HRESULT WINAPI 
synth_dmport_SetDirectSound(IDirectMusicPort *iface, IDire
     if (This->dsound)
         IDirectSound_AddRef(This->dsound);
     if (This->dsbuffer)
-        IDirectSound_AddRef(This->dsbuffer);
+        IDirectSoundBuffer_AddRef(This->dsbuffer);
 
     return S_OK;
 }
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index ad529a327c..521d2b05d6 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -32,7 +32,7 @@ reactos/dll/directx/wine/ddraw          # Synced to 
WineStaging-3.9
 reactos/dll/directx/wine/devenum        # Synced to WineStaging-3.9
 reactos/dll/directx/wine/dinput         # Synced to WineStaging-3.9
 reactos/dll/directx/wine/dinput8        # Synced to WineStaging-3.3
-reactos/dll/directx/wine/dmusic         # Synced to WineStaging-3.3
+reactos/dll/directx/wine/dmusic         # Synced to WineStaging-3.9
 reactos/dll/directx/wine/dplay          # Synced to WineStaging-3.3
 reactos/dll/directx/wine/dplayx         # Synced to WineStaging-3.3
 reactos/dll/directx/wine/dsound         # Synced to Wine-1.3.29

Reply via email to