Example #1
0
        public virtual AudioCaptureBuffer getCapturedAudioBuffer()
        {
            IntPtr             cPtr = cAudioCSharpWrapperPINVOKE.IAudioCapture_getCapturedAudioBuffer(swigCPtr);
            AudioCaptureBuffer ret  = (cPtr == IntPtr.Zero) ? null : new AudioCaptureBuffer(cPtr, false);

            return(ret);
        }
Example #2
0
 public AudioCaptureBuffer(AudioCaptureBuffer p) : this(cAudioCSharpWrapperPINVOKE.new_AudioCaptureBuffer__SWIG_1(AudioCaptureBuffer.getCPtr(p)), true)
 {
     if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending)
     {
         throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
        public virtual IAudioSource createFromAudioBuffer(string name, AudioCaptureBuffer pBiffer, uint frequency, AudioFormats format)
        {
            IntPtr       cPtr = cAudioCSharpWrapperPINVOKE.IAudioManager_createFromAudioBuffer(swigCPtr, name, AudioCaptureBuffer.getCPtr(pBiffer), frequency, (int)format);
            IAudioSource ret  = (cPtr == IntPtr.Zero) ? null : new IAudioSource(cPtr, false);

            return(ret);
        }
Example #4
0
 internal static HandleRef getCPtr(AudioCaptureBuffer obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Example #5
0
 public AudioCaptureBuffer(AudioCaptureBuffer p) : this(cAudioCSharpWrapperPINVOKE.new_AudioCaptureBuffer__SWIG_1(AudioCaptureBuffer.getCPtr(p)), true) {
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
 }
Example #6
0
 internal static HandleRef getCPtr(AudioCaptureBuffer obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #7
0
 public virtual IAudioSource createFromAudioBuffer(string name, AudioCaptureBuffer pBiffer, uint frequency, AudioFormats format) {
   IntPtr cPtr = cAudioCSharpWrapperPINVOKE.IAudioManager_createFromAudioBuffer(swigCPtr, name, AudioCaptureBuffer.getCPtr(pBiffer), frequency, (int)format);
   IAudioSource ret = (cPtr == IntPtr.Zero) ? null : new IAudioSource(cPtr, false);
   return ret;
 }