/// <summary>To be documented.</summary> public readonly int SetOutputVoices(ref VoiceSends pSendList) { var @this = (IXAudio2SourceVoice *)Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed(VoiceSends *pSendListPtr = &pSendList) { ret = ((delegate * unmanaged[Cdecl] < IXAudio2SourceVoice *, VoiceSends *, int >)LpVtbl[1])(@this, pSendListPtr); } return(ret); }
/// <summary>To be documented.</summary> public readonly int SetOutputVoices(ref VoiceSends pSendList) { var @this = (IXAudio2Voice *)Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed(VoiceSends *pSendListPtr = &pSendList) { #if NET5_0_OR_GREATER ret = ((delegate * unmanaged <IXAudio2Voice *, VoiceSends *, int>)LpVtbl[1])(@this, pSendListPtr); #else if (SilkMarshal.IsWinapiStdcall) { ret = ((delegate * unmanaged[Stdcall] < IXAudio2Voice *, VoiceSends *, int >)LpVtbl[1])(@this, pSendListPtr); } else { ret = ((delegate * unmanaged[Cdecl] < IXAudio2Voice *, VoiceSends *, int >)LpVtbl[1])(@this, pSendListPtr); } #endif } return(ret); }