diff options
author | 2010-11-21 19:49:34 +0100 | |
---|---|---|
committer | 2010-11-21 19:49:45 +0100 | |
commit | a540df0dcbd66f9e178603db1081cef64d1f7db1 (patch) | |
tree | b35a8572bf53d9011f970c6c8ef96f3c20406856 /plugins/gtkui/eq.c | |
parent | 05a3f0a6fc4c3ca2776d55e36b38c8c07e0d3184 (diff) |
changed DSP plugin API
Diffstat (limited to 'plugins/gtkui/eq.c')
-rw-r--r-- | plugins/gtkui/eq.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/gtkui/eq.c b/plugins/gtkui/eq.c index 93f92af5..a40e1900 100644 --- a/plugins/gtkui/eq.c +++ b/plugins/gtkui/eq.c @@ -64,13 +64,16 @@ eq_value_changed (DdbEqualizer *widget) void on_enable_toggled (GtkToggleButton *togglebutton, gpointer user_data) { +#if 0 // !!!! FIXME !!!! DB_supereq_dsp_t *eq = get_supereq_plugin (); - eq->dsp.enable (gtk_toggle_button_get_active (togglebutton)); + eq->dsp.enabled = gtk_toggle_button_get_active (togglebutton) ? 1 : 0; +#endif } void on_zero_all_clicked (GtkButton *button, gpointer user_data) { +#if 0 // !!!! FIXME !!!! if (eqwin) { DB_supereq_dsp_t *eq = get_supereq_plugin (); eq->set_preamp (1); @@ -81,22 +84,26 @@ on_zero_all_clicked (GtkButton *button, } gdk_window_invalidate_rect (eqwin->window, NULL, FALSE); } +#endif } void on_zero_preamp_clicked (GtkButton *button, gpointer user_data) { +#if 0 // !!!! FIXME !!!! if (eqwin) { DB_supereq_dsp_t *eq = get_supereq_plugin (); eq->set_preamp (1); ddb_equalizer_set_preamp (DDB_EQUALIZER (eqwin), 0); gdk_window_invalidate_rect (eqwin->window, NULL, FALSE); } +#endif } void on_zero_bands_clicked (GtkButton *button, gpointer user_data) { +#if 0 // !!!! FIXME !!!! if (eqwin) { DB_supereq_dsp_t *eq = get_supereq_plugin (); for (int i = 0; i < 18; i++) { @@ -105,6 +112,7 @@ on_zero_bands_clicked (GtkButton *button, } gdk_window_invalidate_rect (eqwin->window, NULL, FALSE); } +#endif } void |