summaryrefslogtreecommitdiff
path: root/plugins/supereq
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2010-12-12 14:29:52 +0100
committerGravatar waker <wakeroid@gmail.com>2010-12-12 14:29:52 +0100
commitb2ee4acd2e9c1be930fd6f79064f73af6ab70a3d (patch)
tree54718ea66c6028aa1f596101b18bafbe875c94d8 /plugins/supereq
parentd23385f43a32cd7f4dd4ade2bc16f3b5c1b24e92 (diff)
supereq minor typecast fix
Diffstat (limited to 'plugins/supereq')
-rw-r--r--plugins/supereq/supereq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/supereq/supereq.c b/plugins/supereq/supereq.c
index 0502c429..52be2d44 100644
--- a/plugins/supereq/supereq.c
+++ b/plugins/supereq/supereq.c
@@ -78,14 +78,14 @@ int
supereq_process (DB_dsp_instance_t *inst, float *samples, int frames, int *samplerate, int *channels) {
ddb_supereq_instance_t *supereq = (ddb_supereq_instance_t *)inst;
if (supereq->params_changed) {
- recalc_table (inst);
+ recalc_table (supereq);
supereq->params_changed = 0;
}
if (supereq->last_srate != *samplerate) {
deadbeef->mutex_lock (supereq->mutex);
supereq->last_srate = *samplerate;
supereq->last_nch = *channels;
- recalc_table ((ddb_supereq_instance_t *)inst);
+ recalc_table (supereq);
deadbeef->mutex_unlock (supereq->mutex);
equ_clearbuf(&supereq->state);
}