Exemple #1
0
        /// <summary>To be documented.</summary>
        public readonly unsafe int SetOutputMatrix(IXAudio2Voice *pDestinationVoice, uint SourceChannels, uint DestinationChannels, float *pLevelMatrix, uint OperationSet)
        {
            var @this = (IXAudio2SourceVoice *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            ret = ((delegate * unmanaged[Cdecl] < IXAudio2SourceVoice *, IXAudio2Voice *, uint, uint, float *, uint, int >)LpVtbl[16])(@this, pDestinationVoice, SourceChannels, DestinationChannels, pLevelMatrix, OperationSet);
            return(ret);
        }
Exemple #2
0
        /// <summary>To be documented.</summary>
        public readonly unsafe int SetOutputFilterParameters(IXAudio2Voice *pDestinationVoice, FilterParameters *pParameters, uint OperationSet)
        {
            var @this = (IXAudio2SourceVoice *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            ret = ((delegate * unmanaged[Cdecl] < IXAudio2SourceVoice *, IXAudio2Voice *, FilterParameters *, uint, int >)LpVtbl[10])(@this, pDestinationVoice, pParameters, OperationSet);
            return(ret);
        }
Exemple #3
0
        /// <summary>To be documented.</summary>
        public readonly unsafe void GetOutputMatrix(IXAudio2Voice *pDestinationVoice, uint SourceChannels, uint DestinationChannels, ref float pLevelMatrix)
        {
            var @this = (IXAudio2SourceVoice *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));

            fixed(float *pLevelMatrixPtr = &pLevelMatrix)
            {
                ((delegate * unmanaged[Cdecl] < IXAudio2SourceVoice *, IXAudio2Voice *, uint, uint, float *, void >)LpVtbl[17])(@this, pDestinationVoice, SourceChannels, DestinationChannels, pLevelMatrixPtr);
            }
        }
Exemple #4
0
        /// <summary>To be documented.</summary>
        public readonly unsafe void GetOutputFilterParameters(IXAudio2Voice *pDestinationVoice, ref FilterParameters pParameters)
        {
            var @this = (IXAudio2SourceVoice *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));

            fixed(FilterParameters *pParametersPtr = &pParameters)
            {
                ((delegate * unmanaged[Cdecl] < IXAudio2SourceVoice *, IXAudio2Voice *, FilterParameters *, void >)LpVtbl[11])(@this, pDestinationVoice, pParametersPtr);
            }
        }
        public SendDescriptor
        (
            uint?flags = null,
            IXAudio2Voice *pOutputVoice = null
        ) : this()
        {
            if (flags is not null)
            {
                Flags = flags.Value;
            }

            if (pOutputVoice is not null)
            {
                POutputVoice = pOutputVoice;
            }
        }
Exemple #6
0
        /// <summary>To be documented.</summary>
        public readonly unsafe void GetOutputMatrix(IXAudio2Voice *pDestinationVoice, uint SourceChannels, uint DestinationChannels, float *pLevelMatrix)
        {
            var @this = (IXAudio2Voice *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));

            #if NET5_0_OR_GREATER
            ((delegate * unmanaged <IXAudio2Voice *, IXAudio2Voice *, uint, uint, float *, void>)LpVtbl[17])(@this, pDestinationVoice, SourceChannels, DestinationChannels, pLevelMatrix);
            #else
            if (SilkMarshal.IsWinapiStdcall)
            {
                ((delegate * unmanaged[Stdcall] < IXAudio2Voice *, IXAudio2Voice *, uint, uint, float *, void >)LpVtbl[17])(@this, pDestinationVoice, SourceChannels, DestinationChannels, pLevelMatrix);
            }
            else
            {
                ((delegate * unmanaged[Cdecl] < IXAudio2Voice *, IXAudio2Voice *, uint, uint, float *, void >)LpVtbl[17])(@this, pDestinationVoice, SourceChannels, DestinationChannels, pLevelMatrix);
            }
            #endif
        }
Exemple #7
0
        /// <summary>To be documented.</summary>
        public readonly unsafe void GetOutputFilterParameters(IXAudio2Voice *pDestinationVoice, FilterParameters *pParameters)
        {
            var @this = (IXAudio2Voice *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));

            #if NET5_0_OR_GREATER
            ((delegate * unmanaged <IXAudio2Voice *, IXAudio2Voice *, FilterParameters *, void>)LpVtbl[11])(@this, pDestinationVoice, pParameters);
            #else
            if (SilkMarshal.IsWinapiStdcall)
            {
                ((delegate * unmanaged[Stdcall] < IXAudio2Voice *, IXAudio2Voice *, FilterParameters *, void >)LpVtbl[11])(@this, pDestinationVoice, pParameters);
            }
            else
            {
                ((delegate * unmanaged[Cdecl] < IXAudio2Voice *, IXAudio2Voice *, FilterParameters *, void >)LpVtbl[11])(@this, pDestinationVoice, pParameters);
            }
            #endif
        }
Exemple #8
0
        /// <summary>To be documented.</summary>
        public readonly unsafe int SetOutputMatrix(IXAudio2Voice *pDestinationVoice, uint SourceChannels, uint DestinationChannels, float *pLevelMatrix, uint OperationSet)
        {
            var @this = (IXAudio2Voice *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            #if NET5_0_OR_GREATER
            ret = ((delegate * unmanaged <IXAudio2Voice *, IXAudio2Voice *, uint, uint, float *, uint, int>)LpVtbl[16])(@this, pDestinationVoice, SourceChannels, DestinationChannels, pLevelMatrix, OperationSet);
            #else
            if (SilkMarshal.IsWinapiStdcall)
            {
                ret = ((delegate * unmanaged[Stdcall] < IXAudio2Voice *, IXAudio2Voice *, uint, uint, float *, uint, int >)LpVtbl[16])(@this, pDestinationVoice, SourceChannels, DestinationChannels, pLevelMatrix, OperationSet);
            }
            else
            {
                ret = ((delegate * unmanaged[Cdecl] < IXAudio2Voice *, IXAudio2Voice *, uint, uint, float *, uint, int >)LpVtbl[16])(@this, pDestinationVoice, SourceChannels, DestinationChannels, pLevelMatrix, OperationSet);
            }
            #endif
            return(ret);
        }
Exemple #9
0
        /// <summary>To be documented.</summary>
        public readonly unsafe int SetOutputFilterParameters(IXAudio2Voice *pDestinationVoice, FilterParameters *pParameters, uint OperationSet)
        {
            var @this = (IXAudio2Voice *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            #if NET5_0_OR_GREATER
            ret = ((delegate * unmanaged <IXAudio2Voice *, IXAudio2Voice *, FilterParameters *, uint, int>)LpVtbl[10])(@this, pDestinationVoice, pParameters, OperationSet);
            #else
            if (SilkMarshal.IsWinapiStdcall)
            {
                ret = ((delegate * unmanaged[Stdcall] < IXAudio2Voice *, IXAudio2Voice *, FilterParameters *, uint, int >)LpVtbl[10])(@this, pDestinationVoice, pParameters, OperationSet);
            }
            else
            {
                ret = ((delegate * unmanaged[Cdecl] < IXAudio2Voice *, IXAudio2Voice *, FilterParameters *, uint, int >)LpVtbl[10])(@this, pDestinationVoice, pParameters, OperationSet);
            }
            #endif
            return(ret);
        }
 public void GetOutputFilterParameters([NativeTypeName("IXAudio2Voice *")] IXAudio2Voice *pDestinationVoice, [NativeTypeName("XAUDIO2_FILTER_PARAMETERS *")] XAUDIO2_FILTER_PARAMETERS *pParameters)
 {
     ((delegate * unmanaged <IXAudio2MasteringVoice *, IXAudio2Voice *, XAUDIO2_FILTER_PARAMETERS *, void>)(lpVtbl[11]))((IXAudio2MasteringVoice *)Unsafe.AsPointer(ref this), pDestinationVoice, pParameters);
 }
 public int SetOutputFilterParameters([NativeTypeName("IXAudio2Voice *")] IXAudio2Voice *pDestinationVoice, [NativeTypeName("const XAUDIO2_FILTER_PARAMETERS *")] XAUDIO2_FILTER_PARAMETERS *pParameters, [NativeTypeName("UINT32")] uint OperationSet = 0)
 {
     return(((delegate * unmanaged <IXAudio2MasteringVoice *, IXAudio2Voice *, XAUDIO2_FILTER_PARAMETERS *, uint, int>)(lpVtbl[10]))((IXAudio2MasteringVoice *)Unsafe.AsPointer(ref this), pDestinationVoice, pParameters, OperationSet));
 }
 public void GetOutputMatrix([NativeTypeName("IXAudio2Voice *")] IXAudio2Voice *pDestinationVoice, [NativeTypeName("UINT32")] uint SourceChannels, [NativeTypeName("UINT32")] uint DestinationChannels, [NativeTypeName("float *")] float *pLevelMatrix)
 {
     ((delegate * unmanaged <IXAudio2MasteringVoice *, IXAudio2Voice *, uint, uint, float *, void>)(lpVtbl[17]))((IXAudio2MasteringVoice *)Unsafe.AsPointer(ref this), pDestinationVoice, SourceChannels, DestinationChannels, pLevelMatrix);
 }
 public int SetOutputMatrix([NativeTypeName("IXAudio2Voice *")] IXAudio2Voice *pDestinationVoice, [NativeTypeName("UINT32")] uint SourceChannels, [NativeTypeName("UINT32")] uint DestinationChannels, [NativeTypeName("const float *")] float *pLevelMatrix, [NativeTypeName("UINT32")] uint OperationSet = 0)
 {
     return(((delegate * unmanaged <IXAudio2MasteringVoice *, IXAudio2Voice *, uint, uint, float *, uint, int>)(lpVtbl[16]))((IXAudio2MasteringVoice *)Unsafe.AsPointer(ref this), pDestinationVoice, SourceChannels, DestinationChannels, pLevelMatrix, OperationSet));
 }
Exemple #14
0
 public void GetOutputFilterParameters(IXAudio2Voice *pDestinationVoice, XAUDIO2_FILTER_PARAMETERS *pParameters)
 {
     ((delegate * unmanaged <IXAudio2SourceVoice *, IXAudio2Voice *, XAUDIO2_FILTER_PARAMETERS *, void>)(lpVtbl[11]))((IXAudio2SourceVoice *)Unsafe.AsPointer(ref this), pDestinationVoice, pParameters);
 }
        /// <summary>To be documented.</summary>
        public readonly unsafe void GetOutputFilterParameters(IXAudio2Voice *pDestinationVoice, FilterParameters *pParameters)
        {
            var @this = (IXAudio2MasteringVoice *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));

            ((delegate * unmanaged[Cdecl] < IXAudio2MasteringVoice *, IXAudio2Voice *, FilterParameters *, void >)LpVtbl[11])(@this, pDestinationVoice, pParameters);
        }