diff options
Diffstat (limited to 'audio/filter/af_pan.c')
-rw-r--r-- | audio/filter/af_pan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/filter/af_pan.c b/audio/filter/af_pan.c index 56e72ed557..800221e4bf 100644 --- a/audio/filter/af_pan.c +++ b/audio/filter/af_pan.c @@ -108,7 +108,7 @@ static int control(struct af_instance* af, int cmd, void* arg) } // Filter data through filter -static struct mp_audio* play(struct af_instance* af, struct mp_audio* data) +static int filter(struct af_instance* af, struct mp_audio* data, int flags) { struct mp_audio* c = data; // Current working data struct mp_audio* l = af->data; // Local data @@ -141,13 +141,13 @@ static struct mp_audio* play(struct af_instance* af, struct mp_audio* data) c->planes[0] = l->planes[0]; set_channels(c, l->nch); - return c; + return 0; } // Allocate memory and set function pointers static int af_open(struct af_instance* af){ af->control=control; - af->play=play; + af->filter=filter; af_pan_t *s = af->priv; int n = 0; int j,k; |