diff options
Diffstat (limited to 'libaf/af_delay.c')
-rw-r--r-- | libaf/af_delay.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libaf/af_delay.c b/libaf/af_delay.c index 09f1a1c4b0..ce8d71980b 100644 --- a/libaf/af_delay.c +++ b/libaf/af_delay.c @@ -41,7 +41,7 @@ typedef struct af_delay_s }af_delay_t; // Initialization and runtime control -static int control(struct af_instance_s* af, int cmd, void* arg) +static int control(struct af_instance* af, int cmd, void* arg) { af_delay_t* s = af->setup; switch(cmd){ @@ -107,7 +107,7 @@ static int control(struct af_instance_s* af, int cmd, void* arg) } // Deallocate memory -static void uninit(struct af_instance_s* af) +static void uninit(struct af_instance* af) { int i; @@ -118,7 +118,7 @@ static void uninit(struct af_instance_s* af) } // Filter data through filter -static struct mp_audio* play(struct af_instance_s* af, struct mp_audio* data) +static struct mp_audio* play(struct af_instance* af, struct mp_audio* data) { struct mp_audio* c = data; // Current working data af_delay_t* s = af->setup; // Setup for this instance @@ -177,7 +177,7 @@ static struct mp_audio* play(struct af_instance_s* af, struct mp_audio* data) } // Allocate memory and set function pointers -static int af_open(af_instance_t* af){ +static int af_open(struct af_instance* af){ af->control=control; af->uninit=uninit; af->play=play; |