public bool InitRawMode(PocketSphinxAudioRecorder recoder, AdFunction adfunction) { this.Close(); if (this.handle == IntPtr.Zero && recoder != null && recoder.Handle != IntPtr.Zero) { return((this.handle = cont_ad_init_rawmode(recoder.Handle, adfunction)) != IntPtr.Zero); } return(false); }
public static extern IntPtr cont_ad_init_rawmode(IntPtr ad_rec_handle, AdFunction adfunc);