[PATCH 2/2] xaudio2: IXAPO::Reset returns void

Andrew Eikum aeikum at codeweavers.com
Thu Aug 9 14:20:01 CDT 2018


Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
---
 dlls/xaudio2_7/xapofx.c | 9 +++------
 include/xapo.idl        | 2 +-
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/dlls/xaudio2_7/xapofx.c b/dlls/xaudio2_7/xapofx.c
index c39b428e29..e450851b25 100644
--- a/dlls/xaudio2_7/xapofx.c
+++ b/dlls/xaudio2_7/xapofx.c
@@ -145,11 +145,10 @@ static HRESULT WINAPI VUMXAPO_Initialize(IXAPO *iface, const void *data,
     return E_NOTIMPL;
 }
 
-static HRESULT WINAPI VUMXAPO_Reset(IXAPO *iface)
+static void WINAPI VUMXAPO_Reset(IXAPO *iface)
 {
     VUMeterImpl *This = VUMeterImpl_from_IXAPO(iface);
     TRACE("%p\n", This);
-    return E_NOTIMPL;
 }
 
 static HRESULT WINAPI VUMXAPO_LockForProcess(IXAPO *iface,
@@ -347,11 +346,10 @@ static HRESULT WINAPI RVBXAPO_Initialize(IXAPO *iface, const void *data,
     return E_NOTIMPL;
 }
 
-static HRESULT WINAPI RVBXAPO_Reset(IXAPO *iface)
+static void WINAPI RVBXAPO_Reset(IXAPO *iface)
 {
     ReverbImpl *This = ReverbImpl_from_IXAPO(iface);
     TRACE("%p\n", This);
-    return E_NOTIMPL;
 }
 
 static HRESULT WINAPI RVBXAPO_LockForProcess(IXAPO *iface, UINT32 in_params_count,
@@ -548,11 +546,10 @@ static HRESULT WINAPI EQXAPO_Initialize(IXAPO *iface, const void *data,
     return E_NOTIMPL;
 }
 
-static HRESULT WINAPI EQXAPO_Reset(IXAPO *iface)
+static void WINAPI EQXAPO_Reset(IXAPO *iface)
 {
     EQImpl *This = EQImpl_from_IXAPO(iface);
     TRACE("%p\n", This);
-    return E_NOTIMPL;
 }
 
 static HRESULT WINAPI EQXAPO_LockForProcess(IXAPO *iface, UINT32 in_params_count,
diff --git a/include/xapo.idl b/include/xapo.idl
index de09ba0c91..9c3ad15134 100644
--- a/include/xapo.idl
+++ b/include/xapo.idl
@@ -110,7 +110,7 @@ interface IXAPO : IUnknown
 
     HRESULT Initialize(const void *data, UINT32 data_len);
 
-    HRESULT Reset(void);
+    void Reset(void);
 
     HRESULT LockForProcess(UINT32 in_params_count, const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS *in_params,
         UINT32 out_params_count, const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS *out_params);
-- 
2.18.0




More information about the wine-devel mailing list