diff options
author | wm4 <wm4@nowhere> | 2013-04-05 15:25:09 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-12 21:24:54 +0200 |
commit | 0042735d7aefb2f05a79ba2eae741a63f22ea0c9 (patch) | |
tree | b3fa1b42a3fb27003e6b02c1cdd4feb935c1bb04 /audio/filter | |
parent | 1e37d35970398856e911487754056db9509f0c5a (diff) | |
download | mpv-0042735d7aefb2f05a79ba2eae741a63f22ea0c9.tar.bz2 mpv-0042735d7aefb2f05a79ba2eae741a63f22ea0c9.tar.xz |
audio: add channel map API
Unused, will be used in the following commits.
Let chmap.h define the number of maximum channels, because that is most
convenient.
Diffstat (limited to 'audio/filter')
-rw-r--r-- | audio/filter/af.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/audio/filter/af.h b/audio/filter/af.h index 623509c9df..96e5c66607 100644 --- a/audio/filter/af.h +++ b/audio/filter/af.h @@ -26,15 +26,14 @@ #include "core/options.h" #include "audio/format.h" +#include "audio/chmap.h" #include "control.h" #include "core/mp_msg.h" struct af_instance; // Number of channels -#ifndef AF_NCH -#define AF_NCH 8 -#endif +#define AF_NCH MP_NUM_CHANNELS // Audio data chunk struct mp_audio { |