From c9b59548510845e668b6e87c1f69e62302f93d56 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 1 Nov 2012 12:23:48 +0100 Subject: audio: untypedef af_instance --- libaf/af_sinesuppress.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libaf/af_sinesuppress.c') diff --git a/libaf/af_sinesuppress.c b/libaf/af_sinesuppress.c index dd356af991..36f7189f00 100644 --- a/libaf/af_sinesuppress.c +++ b/libaf/af_sinesuppress.c @@ -41,11 +41,11 @@ typedef struct af_sinesuppress_s double pos; }af_sinesuppress_t; -static struct mp_audio* play_s16(struct af_instance_s* af, struct mp_audio* data); -//static struct mp_audio* play_float(struct af_instance_s* af, struct mp_audio* data); +static struct mp_audio* play_s16(struct af_instance* af, struct mp_audio* data); +//static struct mp_audio* play_float(struct af_instance* af, struct mp_audio* data); // 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_sinesuppress_t* s = (af_sinesuppress_t*)af->setup; @@ -96,14 +96,14 @@ 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); free(af->setup); } // Filter data through filter -static struct mp_audio* play_s16(struct af_instance_s* af, struct mp_audio* data) +static struct mp_audio* play_s16(struct af_instance* af, struct mp_audio* data) { af_sinesuppress_t *s = af->setup; register int i = 0; @@ -134,7 +134,7 @@ static struct mp_audio* play_s16(struct af_instance_s* af, struct mp_audio* data } #if 0 -static struct mp_audio* play_float(struct af_instance_s* af, struct mp_audio* data) +static struct mp_audio* play_float(struct af_instance* af, struct mp_audio* data) { af_sinesuppress_t *s = af->setup; register int i = 0; @@ -158,7 +158,7 @@ static struct mp_audio* play_float(struct af_instance_s* af, struct mp_audio* da #endif // 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_s16; -- cgit v1.2.3