From 9743e5efa30faa3eedaadc534d821a29ba41290e Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sun, 8 Nov 2009 09:54:23 +0100 Subject: fixed alsa.freeonstop in gui preferences --- callbacks.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'callbacks.c') diff --git a/callbacks.c b/callbacks.c index d73cc4e4..8d6d9bbf 100644 --- a/callbacks.c +++ b/callbacks.c @@ -1399,6 +1399,9 @@ on_preferences_activate (GtkMenuItem *menuitem, // alsa resampling gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (lookup_widget (w, "pref_alsa_resampling")), conf_get_int ("alsa.resample", 0)); + // alsa freeonstop + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (lookup_widget (w, "pref_alsa_freewhenstopped")), conf_get_int ("alsa.freeonstop", 0)); + // src_quality combobox = GTK_COMBO_BOX (lookup_widget (w, "pref_src_quality")); gtk_combo_box_set_active (combobox, conf_get_int ("src_quality", 2)); -- cgit v1.2.3