Andrew Eikum : xaudio2: IXAPO::Process out parameter should not be const.

Alexandre Julliard julliard at winehq.org
Thu Feb 28 16:09:43 CST 2019


Module: wine
Branch: master
Commit: 53cd694e6a6b577635a3f524c7fc2bd0c1feaff3
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=53cd694e6a6b577635a3f524c7fc2bd0c1feaff3

Author: Andrew Eikum <aeikum at codeweavers.com>
Date:   Thu Feb 28 09:20:03 2019 -0600

xaudio2: IXAPO::Process out parameter should not be const.

Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 ccad417..3ccb3f1 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 9c3ad15..7b28ac9 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);




More information about the wine-cvs mailing list