/// <summary> /// Pause the current song, if it is playing. Does nothing if it is not. /// </summary> public void Pause() { if (isPlaying) { lastMusicPosition = currentSong.CurrentPosition; currentSong.Pause(); } }
public void Pause() { if (checkInit()) { if (isVideo) { _video.Pause(); } else { _audio.Pause(); } } }