summaryrefslogtreecommitdiffstats
path: root/libaf/af_bs2b.c
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2012-11-01 12:23:48 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2012-11-02 19:20:03 +0100
commitc9b59548510845e668b6e87c1f69e62302f93d56 (patch)
tree8ab88c22e961a53bac4dcb7901a6b6016b4ea85b /libaf/af_bs2b.c
parent596e12fcb26e3bad65e91e635796a3bbf051a719 (diff)
downloadmpv-c9b59548510845e668b6e87c1f69e62302f93d56.tar.bz2
mpv-c9b59548510845e668b6e87c1f69e62302f93d56.tar.xz
audio: untypedef af_instance
Diffstat (limited to 'libaf/af_bs2b.c')
-rw-r--r--libaf/af_bs2b.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libaf/af_bs2b.c b/libaf/af_bs2b.c
index 8d4a75e731..ccbf3794c5 100644
--- a/libaf/af_bs2b.c
+++ b/libaf/af_bs2b.c
@@ -38,7 +38,7 @@ struct af_bs2b {
};
#define PLAY(name, type) \
-static struct mp_audio *play_##name(struct af_instance_s *af, struct mp_audio *data) \
+static struct mp_audio *play_##name(struct af_instance *af, struct mp_audio *data) \
{ \
/* filter is called for all pairs of samples available in the buffer */ \
bs2b_cross_feed_##name(((struct af_bs2b*)(af->setup))->filter, \
@@ -92,7 +92,7 @@ static int test_feed(void *par)
}
/// 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)
{
struct af_bs2b *s = af->setup;
@@ -227,7 +227,7 @@ static int control(struct af_instance_s *af, int cmd, void *arg)
}
/// Deallocate memory and close library
-static void uninit(struct af_instance_s *af)
+static void uninit(struct af_instance *af)
{
struct af_bs2b *s = af->setup;
free(af->data);
@@ -237,7 +237,7 @@ static void uninit(struct af_instance_s *af)
}
/// Allocate memory, set function pointers and init library
-static int af_open(af_instance_t *af)
+static int af_open(struct af_instance *af)
{
struct af_bs2b *s;
af->control = control;