sound: Apply device changes

Was missing the code to actually apply the changes.
This commit is contained in:
Robert Ancell 2019-03-14 10:58:59 +13:00
parent 743677c560
commit f0812644ae

View file

@ -122,6 +122,8 @@ output_device_changed_cb (CcSoundPanel *self)
gtk_widget_set_visible (GTK_WIDGET (self->fade_row), can_fade);
gtk_widget_set_visible (GTK_WIDGET (self->subwoofer_row), has_lfe);
gvc_mixer_control_change_output (self->mixer_control, device);
}
static void
@ -140,6 +142,8 @@ input_device_changed_cb (CcSoundPanel *self)
cc_volume_slider_set_stream (self->input_volume_slider, stream);
cc_level_bar_set_stream (self->input_level_bar, stream, CC_LEVEL_BAR_STREAM_TYPE_INPUT);
gvc_mixer_control_change_input (self->mixer_control, device);
}
static void