public void UpdateSongPosition(float seconds) { if (EnableSong && !Track.Paused && Track.Animating && !((HorizontalIntSlider)Canvas.FindChildByName("timeslider")).Held) { AudioPlayback.Resume(CurrentSong.Offset + seconds, (Scheduler.UpdatesPerSecond / 40f)); } else { AudioPlayback.Pause(); } }
public void Resume() { _audioPlayback.Resume(); }