summaryrefslogtreecommitdiff
path: root/plugins/dsp_libsrc
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2010-11-22 21:38:06 +0100
committerGravatar waker <wakeroid@gmail.com>2010-11-22 21:38:06 +0100
commit19a188df769b29df82c12e9b684f13000544fd5e (patch)
tree8f38cf4dbd227d8e287e2266bcb072a1c53de428 /plugins/dsp_libsrc
parenta839ce76b389e7bfa71e7eb17c6ce2a3e0243aab (diff)
added float clamp(-1,1) in premix
added plugin pointer to dsp instances code cleanup
Diffstat (limited to 'plugins/dsp_libsrc')
-rw-r--r--plugins/dsp_libsrc/src.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dsp_libsrc/src.c b/plugins/dsp_libsrc/src.c
index 19317b68..872b196f 100644
--- a/plugins/dsp_libsrc/src.c
+++ b/plugins/dsp_libsrc/src.c
@@ -49,7 +49,7 @@ typedef struct {
DB_dsp_instance_t* ddb_src_open (const char *id) {
ddb_src_libsamplerate_t *src = malloc (sizeof (ddb_src_libsamplerate_t));
- DDB_INIT_DSP_INSTANCE (src,ddb_src_libsamplerate_t);
+ DDB_INIT_DSP_INSTANCE (src,ddb_src_libsamplerate_t,&plugin.dsp);
src->mutex = deadbeef->mutex_create ();
char var[20];