Exemple #1
0
 public void Stop()
 {
     // TODO: It is not enough to call this when vlc is not playing. We also have to reset it to avoid resuming skipped songs (see NextSong()).
     if (vlc != null && vlc.IsPlaying)
     {
         vlc.Stop();
     }
     PlaybackState = TP_PLAYBACKSTATE.Stopped;
 }