diff options
author | waker <wakeroid@gmail.com> | 2010-12-16 22:02:58 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2010-12-16 22:02:58 +0100 |
commit | 844fdf7f5754c87175d3f11e2624e133e0358d5e (patch) | |
tree | d5f4dd16cd001783368e778aa5b1827d0983fee8 | |
parent | cd9d7d54306e8a14e46838f9eb796893ff20fa3c (diff) |
added string type to dsp parameters
-rw-r--r-- | deadbeef.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |