private void recordBroadbandBtn_Click(object sender, EventArgs e) { if (recorderBroadband == null) { //Start OpenBroadbandRecorder(); recorderBroadband.StartRecording(); } else { //Stop recorderBroadband.StopRecording(); recordBroadbandOutput.Enabled = true; recordBroadbandFormat.Enabled = true; recorderBroadband.Save(); recorderBroadband = null; recordBroadbandBtn.Text = START_RECORDING_TEXT; } }
private void recordAudioBtn_Click(object sender, EventArgs e) { if (recorderAudio == null) { //Start OpenAudioRecorder(); recorderAudio.StartRecording(); } else { //Stop recorderAudio.StopRecording(); recordAudioFormat.Enabled = true; recordAudioOutput.Enabled = true; rewindSaveAndRecordBtn.Enabled = true; //Make sure we can't save over this. Audio only recorderAudio.Save(); recorderAudio = null; recordAudioBtn.Text = START_RECORDING_TEXT; } }