Пример #1
0
 public int SubmitSourceBuffer([NativeTypeName("const XAUDIO2_BUFFER *")] XAUDIO2_BUFFER *pBuffer, [NativeTypeName("const XAUDIO2_BUFFER_WMA *")] XAUDIO2_BUFFER_WMA *pBufferWMA = null)
 {
     return(((delegate * unmanaged <IXAudio2SourceVoice *, XAUDIO2_BUFFER *, XAUDIO2_BUFFER_WMA *, int>)(lpVtbl[21]))((IXAudio2SourceVoice *)Unsafe.AsPointer(ref this), pBuffer, pBufferWMA));
 }
Пример #2
0
 public HRESULT SubmitSourceBuffer(
     XAUDIO2_BUFFER *pBuffer,
     XAUDIO2_BUFFER_WMA *pBufferWMA
     )
 => ((delegate * unmanaged[Stdcall] < void *, XAUDIO2_BUFFER *, XAUDIO2_BUFFER_WMA *, HRESULT >)_vtbl[21])(Unsafe.AsPointer(ref this), pBuffer, pBufferWMA);