From 915c9c218574207a7954e53b9747045a6ae34282 Mon Sep 17 00:00:00 2001 From: waker Date: Sun, 2 Jan 2011 18:27:54 +0100 Subject: added bounds checking and output ratio to dsp plugin API; fixed all existing dsp plugins for the new API; dsp_soundtouch can now be used as a resampler --- plugins/supereq/supereq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/supereq') diff --git a/plugins/supereq/supereq.c b/plugins/supereq/supereq.c index 7c67abc1..558cbd5d 100644 --- a/plugins/supereq/supereq.c +++ b/plugins/supereq/supereq.c @@ -77,7 +77,7 @@ supereq_plugin_stop (void) { } int -supereq_process (ddb_dsp_context_t *ctx, float *samples, int frames, ddb_waveformat_t *fmt) { +supereq_process (ddb_dsp_context_t *ctx, float *samples, int frames, int maxframes, ddb_waveformat_t *fmt, float *r) { ddb_supereq_ctx_t *supereq = (ddb_supereq_ctx_t *)ctx; if (supereq->enabled != ctx->enabled) { if (ctx->enabled && !supereq->enabled) { -- cgit v1.2.3