예제 #1
0
 /// <summary>
 /// 启动录制模块 (Start the recorder module)
 /// </summary>
 public static void StartRecorder()
 {
     beginHanlder.enabled = true;
     endHanlder.enabled   = true;
     ShareRECImpl.initRenderTexture();
     ShareRECImpl.Start();
 }
예제 #2
0
        /// <summary>
        /// 启动录制模块 (Start the recorder module)
        /// </summary>
        public static void StartRecorder()
        {
            if (ShareRECImpl.CanStart())
            {
                //	recorder = true;
                //	pause = false;
                //	Debug.LogError (" ================= StartRecorder ");
                //	PrepareSoundCopying (1,8000,8000*2);

                //	ThreadStart ts = new ThreadStart(recordMic);
                //	Thread t = new Thread (ts);
                //	Debug.LogError (" ================= StartRecorder 111 ");
                //	t.Start ();
                //	Debug.LogError (" ================= StartRecorder 222 ");
                beginHanlder.enabled = true;
                endHanlder.enabled   = true;

                ShareRECImpl.InitRenderTexture();
                ShareRECImpl.Start();
                //	Debug.LogError (" ================= StartRecorder 333");
            }
        }