From 0042735d7aefb2f05a79ba2eae741a63f22ea0c9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 5 Apr 2013 15:25:09 +0200 Subject: 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. --- audio/filter/af.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'audio/filter/af.h') 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 { -- cgit v1.2.3