diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-17 00:34:26 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-17 00:34:26 +0100 |
commit | 00dca02d36354d642bb51d3966039101331aa6d9 (patch) | |
tree | 1b86e1d51cdea44a51a3d5efaf10d2d70b4710ef | |
parent | 0c2bb1a7a3dfe555619c17748d88e50bd330b80a (diff) |
Query audio when adding them4.3.0
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index d9163ba..8ed2caf 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2970,6 +2970,7 @@ static GtkWidget* create_common_settings_page(GtkStack *stack, GtkApplication *a GtkWidget *add_audio_device_button = gtk_button_new_with_label("Add audio device"); gtk_grid_attach(add_audio_grid, add_audio_device_button, 0, 0, 1, 1); g_signal_connect(add_audio_device_button, "clicked", G_CALLBACK(+[](GtkButton*, gpointer){ + audio_inputs = get_audio_devices(); GtkWidget *row = create_audio_device_combo_box_row(""); gtk_widget_show_all(row); gtk_box_pack_start(audio_devices_items_box, row, false, false, 0); @@ -2996,6 +2997,7 @@ static GtkWidget* create_common_settings_page(GtkStack *stack, GtkApplication *a GtkWidget *add_application_audio_button = gtk_button_new_with_label("Add application audio"); gtk_grid_attach(add_button_grid, add_application_audio_button, 0, 0, 1, 1); g_signal_connect(add_application_audio_button, "clicked", G_CALLBACK(+[](GtkButton*, gpointer){ + application_audio = get_application_audio(); GtkWidget *row = create_application_audio_combo_box_row(""); gtk_widget_show_all(row); gtk_box_pack_start(application_audio_items_box, row, false, false, 0); |