private void buttonDSPStart_Click(object sender, EventArgs e) { var device = (SoundWrapper.DeviceInfo)comboBoxRec.SelectedItem; timerStartup.Start(); recorder.Start(device); comboBoxPlay.Enabled = false; comboBoxRec.Enabled = false; buttonDSPStart.Enabled = false; volumeSmoothed = 0.0f; //smooth start }
private void StartPlayer() { if (InvokeRequired) { Invoke(new Action(() => StartPlayer())); return; } var device = (SoundWrapper.DeviceInfo)comboBoxPlay.SelectedItem; isPlaying = true; player.Start(device); buttonDSPStop.Enabled = true; }
public void StartRecording() { recorder.Start(0); }
public void Start() { player.Start(0); }