]> git.sesse.net Git - nageru/blobdiff - mixer.cpp
Update the UI with state changes and new ALSA cards as they come in.
[nageru] / mixer.cpp
index 00f161a1052bcc7077951459282024be2999c5ba..d7f86558e16a98d4ada1be0632f9489c3eb9294f 100644 (file)
--- a/mixer.cpp
+++ b/mixer.cpp
@@ -281,6 +281,7 @@ void Mixer::configure_card(unsigned card_index, CaptureInterface *capture, bool
        DeviceSpec device{InputSourceType::CAPTURE_CARD, card_index};
        audio_mixer.reset_resampler(device);
        audio_mixer.set_name(device, card->capture->get_description());
+       audio_mixer.trigger_state_changed_callback();
 }