コード例 #1
0
 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();
     }
 }
コード例 #2
0
 public void Resume()
 {
     _audioPlayback.Resume();
 }