diff options
Diffstat (limited to 'libaf/af_resample.c')
-rw-r--r-- | libaf/af_resample.c | 10 |
1 files changed, 5 insertions, 5 deletions
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; |