private void ViewOnCheckboxChanged(object sender, EventArgs eventArgs)
 {
     if (musicPlayer.IsSpeedControlAvaliable)
     {
         musicPlayer.SetSpeed(_view.IsDTEnabled ? 1.5f : 1.0f);
     }
 }
        private void ViewOnCheckboxChanged(object sender, EventArgs eventArgs)
        {
            if (musicPlayer.IsSpeedControlAvaliable)
            {
                musicPlayer.SetSpeed(_view.IsDTEnabled ? 1.5f : 1.0f);
            }

            Settings.Default.Audio_autoPlay   = _view.IsAutoPlayEnabled;
            Settings.Default.Audio_playerMode = _view.IsMusicPlayerMode;
        }
Пример #3
0
 public void SetSpeed(float speed)
 {
     musicPlayer.SetSpeed(speed);
 }