quartz: Correct IAMDirectSound::GetFocusWindow signature.

Thomas Faber thfabba at gmx.de
Thu Jul 25 13:35:54 CDT 2013


I've also made the boolean parameter name more sensible, since it
specifies whether sound is _audible_ when the window is in the
background.
-------------- next part --------------
From b4e3ab0b0216b305da1cf49be08c25ac6f796c98 Mon Sep 17 00:00:00 2001
From: Thomas Faber <thfabba at gmx.de>
Date: Thu, 25 Jul 2013 20:26:49 +0200
Subject: quartz: Correct IAMDirectSound::GetFocusWindow signature.

---
 dlls/quartz/dsoundrender.c | 8 ++++----
 include/amaudio.h          | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c
index 0a498b0..57e3d3b 100644
--- a/dlls/quartz/dsoundrender.c
+++ b/dlls/quartz/dsoundrender.c
@@ -1247,20 +1247,20 @@ static HRESULT WINAPI AMDirectSound_ReleaseSecondaryBufferInterface(IAMDirectSou
     return E_NOTIMPL;
 }
 
-static HRESULT WINAPI AMDirectSound_SetFocusWindow(IAMDirectSound *iface, HWND hwnd, BOOL bgsilent)
+static HRESULT WINAPI AMDirectSound_SetFocusWindow(IAMDirectSound *iface, HWND hwnd, BOOL bgaudible)
 {
     DSoundRenderImpl *This = impl_from_IAMDirectSound(iface);
 
-    FIXME("(%p/%p)->(%p,%d): stub\n", This, iface, hwnd, bgsilent);
+    FIXME("(%p/%p)->(%p,%d): stub\n", This, iface, hwnd, bgaudible);
 
     return E_NOTIMPL;
 }
 
-static HRESULT WINAPI AMDirectSound_GetFocusWindow(IAMDirectSound *iface, HWND hwnd)
+static HRESULT WINAPI AMDirectSound_GetFocusWindow(IAMDirectSound *iface, HWND *hwnd, BOOL *bgaudible)
 {
     DSoundRenderImpl *This = impl_from_IAMDirectSound(iface);
 
-    FIXME("(%p/%p)->(%p): stub\n", This, iface, hwnd);
+    FIXME("(%p/%p)->(%p,%p): stub\n", This, iface, hwnd, bgaudible);
 
     return E_NOTIMPL;
 }
diff --git a/include/amaudio.h b/include/amaudio.h
index 11bf5cb..e684821 100644
--- a/include/amaudio.h
+++ b/include/amaudio.h
@@ -39,8 +39,8 @@ DECLARE_INTERFACE_(IAMDirectSound,IUnknown)
     STDMETHOD(ReleaseDirectSoundInterface)(THIS_ IDirectSound *ds) PURE;
     STDMETHOD(ReleasePrimaryBufferInterface)(THIS_ IDirectSoundBuffer *buf) PURE;
     STDMETHOD(ReleaseSecondaryBufferInterface)(THIS_ IDirectSoundBuffer *buf) PURE;
-    STDMETHOD(SetFocusWindow)(THIS_ HWND hwnd, BOOL bgsilent) PURE;
-    STDMETHOD(GetFocusWindow)(THIS_ HWND hwnd) PURE;
+    STDMETHOD(SetFocusWindow)(THIS_ HWND hwnd, BOOL bgaudible) PURE;
+    STDMETHOD(GetFocusWindow)(THIS_ HWND *hwnd, BOOL *bgaudible) PURE;
 };
 #undef INTERFACE
 
-- 
1.8.1.5


More information about the wine-patches mailing list