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; }
public void SetSpeed(float speed) { musicPlayer.SetSpeed(speed); }