diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-11-01 12:23:48 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-11-02 19:20:03 +0100 |
commit | c9b59548510845e668b6e87c1f69e62302f93d56 (patch) | |
tree | 8ab88c22e961a53bac4dcb7901a6b6016b4ea85b /libaf/af_hrtf.c | |
parent | 596e12fcb26e3bad65e91e635796a3bbf051a719 (diff) | |
download | mpv-c9b59548510845e668b6e87c1f69e62302f93d56.tar.bz2 mpv-c9b59548510845e668b6e87c1f69e62302f93d56.tar.xz |
audio: untypedef af_instance
Diffstat (limited to 'libaf/af_hrtf.c')
-rw-r--r-- | libaf/af_hrtf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libaf/af_hrtf.c b/libaf/af_hrtf.c index 0dc408ab63..4f5eedb29d 100644 --- a/libaf/af_hrtf.c +++ b/libaf/af_hrtf.c @@ -282,7 +282,7 @@ static inline void update_ch(af_hrtf_t *s, short *in, const int k) } /* 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_hrtf_t *s = af->setup; int test_output_res; @@ -345,7 +345,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) { if(af->setup) { af_hrtf_t *s = af->setup; @@ -381,7 +381,7 @@ frequencies). 2. A bass compensation is introduced to ensure that 0-200 Hz are not damped (without any real 3D acoustical image, however). */ -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) { af_hrtf_t *s = af->setup; short *in = data->audio; // Input audio data @@ -593,7 +593,7 @@ static int allocate(af_hrtf_t *s) } /* Allocate memory and set function pointers */ -static int af_open(af_instance_t* af) +static int af_open(struct af_instance* af) { int i; af_hrtf_t *s; |