public Dashboard() { WorkingProfile = new Profile(); networkHandler = new NetworkHandler(); InitializeComponent(); String[] deviceNames = SoundInputHandler.GetAvailableDevices(); AudioInputSelector.Items.AddRange(deviceNames); AudioInputSelector.SelectedIndex = 0; visualizerController = new VisualizerController(LEDProjector.Width, LEDProjector.Height); }
private void ListenButton_Click(object sender, EventArgs e) { soundInputHandler = new SoundInputHandler(AudioInputSelector.SelectedIndex); UpdateTimer.Enabled = true; }