summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2010-12-16 22:02:58 +0100
committerGravatar waker <wakeroid@gmail.com>2010-12-16 22:02:58 +0100
commit844fdf7f5754c87175d3f11e2624e133e0358d5e (patch)
treed5f4dd16cd001783368e778aa5b1827d0983fee8 /deadbeef.h
parentcd9d7d54306e8a14e46838f9eb796893ff20fa3c (diff)
added string type to dsp parameters
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 114bfc4a..e7b42a7e 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -798,8 +798,12 @@ typedef struct DB_dsp_s {
// param names are for display-only, and are allowed to contain spaces
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_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);
} DB_dsp_t;