comparison src/wavpack/ui.cxx @ 2124:b8da6a0b0da2

s/bmp_cfg_/aud_cfg_/g
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 24 Oct 2007 07:34:02 +0300
parents f6f5603a0954
children 0de647993c2a
comparison
equal deleted inserted replaced
2123:c349bd73af71 2124:b8da6a0b0da2
426 tb = GTK_TOGGLE_BUTTON(rg_dyn_bitrate); 426 tb = GTK_TOGGLE_BUTTON(rg_dyn_bitrate);
427 dynBitrateEnabled = gtk_toggle_button_get_active(tb); 427 dynBitrateEnabled = gtk_toggle_button_get_active(tb);
428 tb = GTK_TOGGLE_BUTTON(rg_track_gain); 428 tb = GTK_TOGGLE_BUTTON(rg_track_gain);
429 albumReplaygainEnabled = !gtk_toggle_button_get_active(tb); 429 albumReplaygainEnabled = !gtk_toggle_button_get_active(tb);
430 430
431 cfg = bmp_cfg_db_open(); 431 cfg = aud_cfg_db_open();
432 432
433 bmp_cfg_db_set_bool(cfg, "wavpack", "clip_prevention", 433 aud_cfg_db_set_bool(cfg, "wavpack", "clip_prevention",
434 clipPreventionEnabled); 434 clipPreventionEnabled);
435 bmp_cfg_db_set_bool(cfg, "wavpack", "album_replaygain", 435 aud_cfg_db_set_bool(cfg, "wavpack", "album_replaygain",
436 albumReplaygainEnabled); 436 albumReplaygainEnabled);
437 bmp_cfg_db_set_bool(cfg, "wavpack", "dyn_bitrate", dynBitrateEnabled); 437 aud_cfg_db_set_bool(cfg, "wavpack", "dyn_bitrate", dynBitrateEnabled);
438 bmp_cfg_db_set_bool(cfg, "wavpack", "replaygain", replaygainEnabled); 438 aud_cfg_db_set_bool(cfg, "wavpack", "replaygain", replaygainEnabled);
439 bmp_cfg_db_close(cfg); 439 aud_cfg_db_close(cfg);
440 gtk_widget_destroy(wv_configurewin); 440 gtk_widget_destroy(wv_configurewin);
441 } 441 }
442 442
443 static void 443 static void
444 rg_switch_cb(GtkWidget * w, gpointer data) 444 rg_switch_cb(GtkWidget * w, gpointer data)