summaryrefslogtreecommitdiffstats
path: root/libaf/control.h
diff options
context:
space:
mode:
authoranders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-07 10:33:30 +0000
committeranders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-07 10:33:30 +0000
commit4477f1232a19ef0ed1c3944b39a2f0aaca45fddc (patch)
treedbc25d1ac2429e821279cdd916eb356f639b845f /libaf/control.h
parent850c82cf304928017b5c70f909fb6c226b997572 (diff)
downloadmpv-4477f1232a19ef0ed1c3944b39a2f0aaca45fddc.tar.bz2
mpv-4477f1232a19ef0ed1c3944b39a2f0aaca45fddc.tar.xz
Adding sub-woofer filter, use this filter to add a sub channel to the audio stream
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8833 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/control.h')
-rw-r--r--libaf/control.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/libaf/control.h b/libaf/control.h
index c5468ad256..cc7a11486b 100644
--- a/libaf/control.h
+++ b/libaf/control.h
@@ -202,8 +202,17 @@ typedef struct af_control_ext_s{
#define AF_CONTROL_EQUALIZER_GAIN 0x00001C00 | AF_CONTROL_FILTER_SPECIFIC
-// Set delay length in seconds
+// Delay length in ms, arg is a control_ext with a float*
#define AF_CONTROL_DELAY_LEN 0x00001D00 | AF_CONTROL_FILTER_SPECIFIC
+// Subwoofer
+
+// Channel number which to insert the filtered data, arg in int*
+#define AF_CONTROL_SUB_CH 0x00001E00 | AF_CONTROL_FILTER_SPECIFIC
+
+// Cutoff frequency [Hz] for lowpass filter, arg is float*
+#define AF_CONTROL_SUB_FC 0x00001F00 | AF_CONTROL_FILTER_SPECIFIC
+
+
#endif /*__af_control_h */