private static void OnVoiceProcessingPassEndImpl(IntPtr thisObject) { IXAudio2VoiceCallbackShadow shadow = ToShadow <IXAudio2VoiceCallbackShadow>(thisObject); IXAudio2VoiceCallback callback = (IXAudio2VoiceCallback)shadow.Callback; callback.OnVoiceProcessingPassEnd(); }
private static void OnVoiceProcessingPassStartImpl(IntPtr thisObject, int bytes) { IXAudio2VoiceCallbackShadow shadow = ToShadow <IXAudio2VoiceCallbackShadow>(thisObject); IXAudio2VoiceCallback callback = (IXAudio2VoiceCallback)shadow.Callback; callback.OnVoiceProcessingPassStart(bytes); }