public void Stop() { if (SoundDevice != null) { SoundDevice.Stop(); SoundDevice = null; } }
public void Start() { if (SoundDevice == null) { SquelchState = DemodulationState.eSquelchState.Open; Form newForm = new Form(); newForm.Show(); newForm.SetDesktopLocation(8192, 8192); newForm.Visible = false; SoundDevice = new DXSoundDevice(newForm.Handle, SelectedDevice); SoundDevice.Start(); newForm.Close(); } }
public DeviceInfo[] GetDevices() { return(DXSoundDevice.GetDevices()); }