diff src/audacious/ui_preferences.c @ 4523:b3e4f5c31546

Conditional USE_SRC was changed to USE_SAMPLERATE earlier.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 30 Apr 2008 03:43:15 +0300
parents 867d7caeb95b
children 97b29dec6c6b
line wrap: on
line diff
--- a/src/audacious/ui_preferences.c	Wed Apr 30 03:41:47 2008 +0300
+++ b/src/audacious/ui_preferences.c	Wed Apr 30 03:43:15 2008 +0300
@@ -891,7 +891,7 @@
 on_enable_src_realize(GtkToggleButton * button,
                       gpointer data)
 {
-#ifdef USE_SRC
+#ifdef USE_SAMPLERATE
     gtk_toggle_button_set_active(button, cfg.enable_src);
 #else
     gtk_toggle_button_set_active(button, FALSE);
@@ -902,7 +902,7 @@
 static void
 on_enable_src_toggled(GtkToggleButton * button, gpointer data)
 {
-#ifdef USE_SRC
+#ifdef USE_SAMPLERATE
     cfg.enable_src = gtk_toggle_button_get_active(button);
 #endif
 }
@@ -911,7 +911,7 @@
 on_src_rate_realize(GtkSpinButton * button,
                     gpointer data)
 {
-#ifdef USE_SRC
+#ifdef USE_SAMPLERATE
     gtk_spin_button_set_value(button, (gdouble)cfg.src_rate);
 #else
     gtk_widget_set_sensitive(GTK_WIDGET(button), FALSE);
@@ -922,7 +922,7 @@
 on_src_rate_value_changed(GtkSpinButton * button,
                           gpointer data)
 {
-#ifdef USE_SRC
+#ifdef USE_SAMPLERATE
     cfg.src_rate = gtk_spin_button_get_value_as_int(button);
 #endif
 }
@@ -931,7 +931,7 @@
 on_src_converter_type_realize(GtkComboBox * box,
                               gpointer data)
 {
-#ifdef USE_SRC
+#ifdef USE_SAMPLERATE
     gtk_combo_box_set_active(box, cfg.src_type);
 #else
     gtk_widget_set_sensitive(GTK_WIDGET(box), FALSE);
@@ -942,7 +942,7 @@
 on_src_converter_type_changed(GtkComboBox * box,
                               gpointer data)
 {
-#ifdef USE_SRC
+#ifdef USE_SAMPLERATE
     cfg.src_type = gtk_combo_box_get_active(box);
 #endif
 }