示例#1
0
文件: NatMic.cs 项目: contrejo27/Jose
 public static void StopRecording()
 {
     if (!IsRecording)
     {
         Debug.LogError("NatMic Error: Cannot stop recording because NatMic is not recording");
         return;
     }
     if (audioUtility)
     {
         audioUtility.Dispose();
     }
     if (audioMixer != null)
     {
         audioMixer.Dispose();
     }
     audioUtility = null;
     audioMixer   = null;
     Implementation.StopRecording();
 }