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_channels.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libaf/af_channels.c') diff --git a/libaf/af_channels.c b/libaf/af_channels.c index 5344e7b1fd..8f676d8cfd 100644 --- a/libaf/af_channels.c +++ b/libaf/af_channels.c @@ -133,7 +133,7 @@ static int check_routes(af_channels_t* s, int nin, int nout) } // 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_channels_t* s = af->setup; switch(cmd){ @@ -247,7 +247,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) { free(af->setup); if (af->data) @@ -256,7 +256,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 struct mp_audio* l = af->data; // Local data @@ -283,7 +283,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