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_resample.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libaf/af_resample.c') diff --git a/libaf/af_resample.c b/libaf/af_resample.c index f531066cbc..51c51b0bf0 100644 --- a/libaf/af_resample.c +++ b/libaf/af_resample.c @@ -122,7 +122,7 @@ static int linint(struct mp_audio* c,struct mp_audio* l, af_resample_t* s) } /* Determine resampling type and format */ -static int set_types(struct af_instance_s* af, struct mp_audio* data) +static int set_types(struct af_instance* af, struct mp_audio* data) { af_resample_t* s = af->setup; int rv = AF_OK; @@ -170,7 +170,7 @@ static int set_types(struct af_instance_s* 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) { switch(cmd){ case AF_CONTROL_REINIT:{ @@ -302,7 +302,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) { af_resample_t *s = af->setup; if (s) { @@ -317,7 +317,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) { int len = 0; // Length of output data struct mp_audio* c = data; // Current working data @@ -370,7 +370,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; -- cgit v1.2.3