public void Pause(float fadeOutTime)
 {
     if (Sequencer != null)
     {
         Sequencer.Pause(fadeOutTime);
     }
 }
Esempio n. 2
0
 public void Pause()
 {
     if (state == PlayState.Stopped)
     {
         return;
     }
     if (state == PlayState.Playing)
     {
         sequencer.Pause(fadeOutTime);
         state = PlayState.Paused;
     }
     else if (state == PlayState.Prepareing)
     {
         state = PlayState.Suspended;
     }
 }