summaryrefslogtreecommitdiffstats
path: root/libaf/af.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2012-11-01 12:20:35 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2012-11-02 19:20:03 +0100
commit596e12fcb26e3bad65e91e635796a3bbf051a719 (patch)
tree7354ad7f15d40a23ce1acd514456e85623482b9b /libaf/af.h
parent0374ddb79d4e20aa73ef91496beb2c0811c34ca7 (diff)
downloadmpv-596e12fcb26e3bad65e91e635796a3bbf051a719.tar.bz2
mpv-596e12fcb26e3bad65e91e635796a3bbf051a719.tar.xz
audio: untypedef af_info
Diffstat (limited to 'libaf/af.h')
-rw-r--r--libaf/af.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/libaf/af.h b/libaf/af.h
index e782759f77..90407ef97f 100644
--- a/libaf/af.h
+++ b/libaf/af.h
@@ -53,20 +53,19 @@ struct mp_audio {
/* Audio filter information not specific for current instance, but for
a specific filter */
-typedef struct af_info_s
-{
+struct af_info {
const char *info;
const char *name;
const char *author;
const char *comment;
const int flags;
int (*open)(struct af_instance_s* vf);
-} af_info_t;
+};
// Linked list of audio filters
typedef struct af_instance_s
{
- af_info_t* info;
+ struct af_info* info;
int (*control)(struct af_instance_s* af, int cmd, void* arg);
void (*uninit)(struct af_instance_s* af);
struct mp_audio* (*play)(struct af_instance_s* af, struct mp_audio* data);