summaryrefslogtreecommitdiffstats
path: root/audio/filter/af.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/filter/af.h')
-rw-r--r--audio/filter/af.h5
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 {