diff options
author | waker <wakeroid@gmail.com> | 2010-12-27 17:46:53 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2010-12-27 17:46:53 +0100 |
commit | 8990244b8aff1ed931bc49a419b9d729887702c1 (patch) | |
tree | d60ef6738d94d578a63464c3fe734d8ceb004d47 /deadbeef.h | |
parent | 105a5af47b396941781adf422511b2b7e899f56a (diff) |
improved gui script:
added support for spinbtn and combobox
changed API to allow generic use (e.g. for dsp plugins)
dsp set/get_param are now using strings instead of floats
dsp plugins are now using gui script
fixed many errors in converter and its gui
supereq set/get_param now uses dBs instead of amplitude
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -799,14 +799,12 @@ typedef struct DB_dsp_s { int (*num_params) (void); const char *(*get_param_name) (int p); - void (*set_param) (ddb_dsp_context_t *ctx, int p, float val); - float (*get_param) (ddb_dsp_context_t *ctx, int p); + void (*set_param) (ddb_dsp_context_t *ctx, int p, const char *val); + void (*get_param) (ddb_dsp_context_t *ctx, int p, char *str, int len); - void (*set_param_str) (ddb_dsp_context_t *ctx, int p, const char *val); - void (*get_param_str) (ddb_dsp_context_t *ctx, int p, char *str, int len); + const char *configdialog; // separate dialog per dsp context } DB_dsp_t; - // misc plugin // purpose is to provide extra services // e.g. scrobbling, converting, tagging, custom gui, etc. |