示例#1
0
            private static void OnVoiceProcessingPassEndImpl(IntPtr thisObject)
            {
                IXAudio2VoiceCallbackShadow shadow   = ToShadow <IXAudio2VoiceCallbackShadow>(thisObject);
                IXAudio2VoiceCallback       callback = (IXAudio2VoiceCallback)shadow.Callback;

                callback.OnVoiceProcessingPassEnd();
            }
示例#2
0
            private static void OnVoiceProcessingPassStartImpl(IntPtr thisObject, int bytes)
            {
                IXAudio2VoiceCallbackShadow shadow   = ToShadow <IXAudio2VoiceCallbackShadow>(thisObject);
                IXAudio2VoiceCallback       callback = (IXAudio2VoiceCallback)shadow.Callback;

                callback.OnVoiceProcessingPassStart(bytes);
            }