Module: wine Branch: master Commit: cc1692bb0a09615291569d90bd335a0edeb1274b URL: https://gitlab.winehq.org/wine/wine/-/commit/cc1692bb0a09615291569d90bd335a0...
Author: Biswapriyo Nath nathbappai@gmail.com Date: Tue Sep 5 04:45:15 2023 +0000
include: Add AudioCaptureEffectsManager runtimeclass in windows.media.effects.idl.
---
include/windows.media.effects.idl | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+)
diff --git a/include/windows.media.effects.idl b/include/windows.media.effects.idl index 87829fda0bd..7607ed6c7cc 100644 --- a/include/windows.media.effects.idl +++ b/include/windows.media.effects.idl @@ -26,14 +26,17 @@ import "windows.foundation.idl"; namespace Windows.Media.Effects { typedef enum AudioEffectType AudioEffectType;
+ interface IAudioCaptureEffectsManager; interface IAudioEffect;
+ runtimeclass AudioCaptureEffectsManager; runtimeclass AudioEffect;
declare { interface Windows.Foundation.Collections.IIterable<Windows.Media.Effects.AudioEffect *>; interface Windows.Foundation.Collections.IIterator<Windows.Media.Effects.AudioEffect *>; interface Windows.Foundation.Collections.IVectorView<Windows.Media.Effects.AudioEffect *>; + interface Windows.Foundation.TypedEventHandler<Windows.Media.Effects.AudioCaptureEffectsManager *, IInspectable *>; }
[ @@ -65,6 +68,25 @@ namespace Windows.Media.Effects { DeepNoiseSuppression = 19, };
+ [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Media.Effects.AudioCaptureEffectsManager), + uuid(8f85c271-038d-4393-8298-540110608eef) + ] + interface IAudioCaptureEffectsManager : IInspectable + { + [eventadd] HRESULT AudioCaptureEffectsChanged( + [in] Windows.Foundation.TypedEventHandler<Windows.Media.Effects.AudioCaptureEffectsManager *, IInspectable *> *handler, + [out, retval] EventRegistrationToken *token + ); + [eventremove] HRESULT AudioCaptureEffectsChanged( + [in] EventRegistrationToken token + ); + HRESULT GetAudioCaptureEffects( + [out, retval] Windows.Foundation.Collections.IVectorView<Windows.Media.Effects.AudioEffect *> **effects + ); + } + [ contract(Windows.Foundation.UniversalApiContract, 1.0), exclusiveto(Windows.Media.Effects.AudioEffect), @@ -75,6 +97,16 @@ namespace Windows.Media.Effects { [propget] HRESULT AudioEffectType([out, retval] Windows.Media.Effects.AudioEffectType *value); }
+ [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + marshaling_behavior(agile), + threading(mta) + ] + runtimeclass AudioCaptureEffectsManager + { + [default] interface Windows.Media.Effects.IAudioCaptureEffectsManager; + } + [ contract(Windows.Foundation.UniversalApiContract, 1.0), marshaling_behavior(agile),