[PATCH] xaudio2: IXAPO::Process out parameter should not be const

Andrew Eikum aeikum at codeweavers.com
Thu Feb 28 09:20:03 CST 2019


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

diff --git a/dlls/xaudio2_7/xapo.c b/dlls/xaudio2_7/xapo.c
index ccad417ea5..3ccb3f190b 100644
--- a/dlls/xaudio2_7/xapo.c
+++ b/dlls/xaudio2_7/xapo.c
@@ -175,7 +175,7 @@ static void WINAPI XAPOFX_UnlockForProcess(IXAPO *iface)
 static void WINAPI XAPOFX_Process(IXAPO *iface, UINT32 in_params_count,
         const XAPO_PROCESS_BUFFER_PARAMETERS *in_params,
         UINT32 out_params_count,
-        const XAPO_PROCESS_BUFFER_PARAMETERS *out_params, BOOL enabled)
+        XAPO_PROCESS_BUFFER_PARAMETERS *out_params, BOOL enabled)
 {
     XA2XAPOFXImpl *This = impl_from_IXAPO(iface);
     TRACE("%p, %u, %p, %u, %p, %u\n", This, in_params_count, in_params,
diff --git a/include/xapo.idl b/include/xapo.idl
index 9c3ad15134..7b28ac9f43 100644
--- a/include/xapo.idl
+++ b/include/xapo.idl
@@ -118,7 +118,7 @@ interface IXAPO : IUnknown
     void UnlockForProcess(void);
 
     void Process(UINT32 in_params_count, const XAPO_PROCESS_BUFFER_PARAMETERS *in_params,
-        UINT32 out_params_count, const XAPO_PROCESS_BUFFER_PARAMETERS *out_params,
+        UINT32 out_params_count, XAPO_PROCESS_BUFFER_PARAMETERS *out_params,
         BOOL enabled);
 
     UINT32 CalcInputFrames(UINT32 output_frames);
-- 
2.21.0




More information about the wine-devel mailing list