Beispiel #1
0
 void SendPlaybackPaused(object sender, EventArgs e)
 {
     _isPlaying = false;
     State      = PlaybackState.Paused;
     PlaybackPaused?.Invoke(this, EventArgs.Empty);
     _controlsAlwaysVisible = true;
     ShowController();
 }
Beispiel #2
0
 public void Pause()
 {
     if (_output != null)
     {
         _output.Pause();
         PlaybackPaused?.Invoke(); //Ułatwonie wywołanie delegata
     }
 }