private void PlayCurrentSamples() { if (_playing) { return; } lock (_player) { _playing = true; _player.SetBpm(BassPlayer.GetCurrentBpm()); _player.Unmute(); _player.Play(); } }
private void btnRefresh_Click(object sender, EventArgs e) { txtMinBPM.Text = (BassPlayer.GetCurrentBpm() * 0.9M).ToString("0"); txtMaxBPM.Text = (BassPlayer.GetCurrentBpm() * 1.1M).ToString("0"); BindData(); }