Mercurial > audlegacy-plugins
comparison src/echo_plugin/gui.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 | 00394f91e3c6 |
| children | 4d6045c20cc5 |
comparison
equal
deleted
inserted
replaced
| 2123:c349bd73af71 | 2124:b8da6a0b0da2 |
|---|---|
| 37 echo_feedback = GTK_ADJUSTMENT(echo_feedback_adj)->value; | 37 echo_feedback = GTK_ADJUSTMENT(echo_feedback_adj)->value; |
| 38 echo_volume = GTK_ADJUSTMENT(echo_volume_adj)->value; | 38 echo_volume = GTK_ADJUSTMENT(echo_volume_adj)->value; |
| 39 echo_surround_enable = | 39 echo_surround_enable = |
| 40 gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(surround_btn)); | 40 gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(surround_btn)); |
| 41 | 41 |
| 42 cfg = bmp_cfg_db_open(); | 42 cfg = aud_cfg_db_open(); |
| 43 bmp_cfg_db_set_int(cfg, "echo_plugin", "delay", echo_delay); | 43 aud_cfg_db_set_int(cfg, "echo_plugin", "delay", echo_delay); |
| 44 bmp_cfg_db_set_int(cfg, "echo_plugin", "feedback", echo_feedback); | 44 aud_cfg_db_set_int(cfg, "echo_plugin", "feedback", echo_feedback); |
| 45 bmp_cfg_db_set_int(cfg, "echo_plugin", "volume", echo_volume); | 45 aud_cfg_db_set_int(cfg, "echo_plugin", "volume", echo_volume); |
| 46 bmp_cfg_db_set_bool(cfg, "echo_plugin", "enable_surround", echo_surround_enable); | 46 aud_cfg_db_set_bool(cfg, "echo_plugin", "enable_surround", echo_surround_enable); |
| 47 bmp_cfg_db_close(cfg); | 47 aud_cfg_db_close(cfg); |
| 48 } | 48 } |
| 49 | 49 |
| 50 static void conf_ok_cb(GtkButton * button, gpointer data) | 50 static void conf_ok_cb(GtkButton * button, gpointer data) |
| 51 { | 51 { |
| 52 apply_changes(); | 52 apply_changes(); |
