Exemplo n.º 1
0
 public static SoundHelper instance()
 {
     if (_Instance == null)
         _Instance = new SoundHelper();
     return _Instance;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 语音识别功能
 /// </summary>
 private void OpenVoice()
 {
     sh = SoundHelper.instance();
     sh.BeginRec();
     sh.SetMessage = SetPW;
 }