Exemplo n.º 1
0
 private void OnShuttingDown(ShuttingDownMessage message)
 {
     if (message.CurrentViewName == AutoTuneViewModel.ViewName)
     {
         this.voiceRecorderState.DeleteFiles();
     }
 }
Exemplo n.º 2
0
 private void OnShuttingDown(ShuttingDownMessage message)
 {
     if (message.CurrentViewName == ViewName)
     {
         recorder.Stop();
     }
 }
Exemplo n.º 3
0
        private void OnShuttingDown(ShuttingDownMessage message)
        {
            audioPlayer.Dispose();

            if (message.CurrentViewName == SaveViewModel.ViewName)
            {
                this.voiceRecorderState.DeleteFiles();
            }
        }