コード例 #1
0
        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);
        }
コード例 #2
0
 public static extern IntPtr cont_ad_init_rawmode(IntPtr ad_rec_handle, AdFunction adfunc);