diff src/sndstretch/sndstretch_xmms.c @ 2124:b8da6a0b0da2

s/bmp_cfg_/aud_cfg_/g
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 24 Oct 2007 07:34:02 +0300
parents 2ebeb7816c5e
children 4d6045c20cc5
line wrap: on
line diff
--- a/src/sndstretch/sndstretch_xmms.c	Wed Oct 24 07:32:18 2007 +0300
+++ b/src/sndstretch/sndstretch_xmms.c	Wed Oct 24 07:34:02 2007 +0300
@@ -257,15 +257,15 @@
 
 static gint sndstretch_config_destroy_cb(GtkWidget * w, GdkEventAny * e, gpointer data)
 {
-	ConfigDb *db = bmp_cfg_db_open();
+	ConfigDb *db = aud_cfg_db_open();
 
-	bmp_cfg_db_set_double(db, "sndstretch", "pitch", SS.pitch);
-	bmp_cfg_db_set_double(db, "sndstretch", "speed", SS.speed);
+	aud_cfg_db_set_double(db, "sndstretch", "pitch", SS.pitch);
+	aud_cfg_db_set_double(db, "sndstretch", "speed", SS.speed);
 
-	bmp_cfg_db_set_bool(db, "sndstretch", "short_overlap", SS.short_overlap);
-	bmp_cfg_db_set_bool(db, "sndstretch", "volume_corr", SS.volume_corr);
+	aud_cfg_db_set_bool(db, "sndstretch", "short_overlap", SS.short_overlap);
+	aud_cfg_db_set_bool(db, "sndstretch", "volume_corr", SS.volume_corr);
 
-	bmp_cfg_db_close(db);
+	aud_cfg_db_close(db);
 
 	gtk_widget_destroy(sndstretch_config_dialog);
 	sndstretch_config_dialog = NULL;
@@ -405,7 +405,7 @@
 {
 	ConfigDb *db;
 
-	db = bmp_cfg_db_open();
+	db = aud_cfg_db_open();
 
 	SS.fragsize=0;
 	SS.chnr=2;
@@ -423,13 +423,13 @@
 	SS.scale=1.0;
 
 	gboolean b;
-	bmp_cfg_db_get_double(db, "sndstretch", "pitch", &SS.pitch);
-	bmp_cfg_db_get_double(db, "sndstretch", "speed", &SS.speed);
-	if (bmp_cfg_db_get_bool(db, "sndstretch", "short_overlap", &b))
+	aud_cfg_db_get_double(db, "sndstretch", "pitch", &SS.pitch);
+	aud_cfg_db_get_double(db, "sndstretch", "speed", &SS.speed);
+	if (aud_cfg_db_get_bool(db, "sndstretch", "short_overlap", &b))
 		SS.short_overlap = b;
-	if (bmp_cfg_db_get_bool(db, "sndstretch", "volume_corr", &b))
+	if (aud_cfg_db_get_bool(db, "sndstretch", "volume_corr", &b))
 		SS.volume_corr = b;
-	bmp_cfg_db_close(db);
+	aud_cfg_db_close(db);
 }
 
 int sndstretch_mod_samples (gpointer *ptr, gint length, AFormat fmt, gint srate, gint nch)