Пример #1
0
        public void ResetToStart()
        {
            ALog.Debug("");
            if (!AUtil.IsStopPause(this.State))
            {
                return;
            }

            this.Player.ResetToStart();
        }
Пример #2
0
 private void OnRecording()
 {
     ALog.Debug("State={0}", this.Recorder.State);
     if (AUtil.IsStopPause(this.Recorder.State))
     {
         bool isReset = this.Recorder.State != ESRState.RecordingPause;
         this.Recorder.StartRecording();
     }
     else
     {
         this.Recorder.PauseAll();
     }
 }