diff options
Diffstat (limited to 'libaf/af_dummy.c')
-rw-r--r-- | libaf/af_dummy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libaf/af_dummy.c b/libaf/af_dummy.c index 62add27979..29a5b3d4b8 100644 --- a/libaf/af_dummy.c +++ b/libaf/af_dummy.c @@ -26,7 +26,7 @@ #include "af.h" // 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) { switch(cmd){ case AF_CONTROL_REINIT: @@ -39,13 +39,13 @@ 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) { free(af->data); } // 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) { // Do something necessary to get rid of annoying warning during compile if(!af) @@ -54,7 +54,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; |