summaryrefslogtreecommitdiffstats
path: root/libaf/control.h
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-13 10:36:17 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-13 10:36:17 +0000
commit9b2c81e1bbf7586841ae3e7e4567922d78caa0d5 (patch)
tree77525d5b53ed03e82d0022bc7acffdc47616cd02 /libaf/control.h
parent9c188dbd5fc19b67e47cf5aa5053cbed2a3da37d (diff)
downloadmpv-9b2c81e1bbf7586841ae3e7e4567922d78caa0d5.tar.bz2
mpv-9b2c81e1bbf7586841ae3e7e4567922d78caa0d5.tar.xz
very simple filter which can remove a sine at a specified frequency, usefull to get rid of the 50/60hz noise on ultra crappy equipment
probably works only with 1 channel input git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18083 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/control.h')
-rw-r--r--libaf/control.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libaf/control.h b/libaf/control.h
index dcbb2ddba0..330d9ab155 100644
--- a/libaf/control.h
+++ b/libaf/control.h
@@ -224,4 +224,9 @@ typedef struct af_control_ext_s{
// Channel number which to inster the filtered data, arg in int*
#define AF_CONTROL_CENTER_CH 0x00002200 | AF_CONTROL_FILTER_SPECIFIC
+
+// SineSupress
+#define AF_CONTROL_SS_FREQ 0x00002300 | AF_CONTROL_FILTER_SPECIFIC
+#define AF_CONTROL_SS_DECAY 0x00002400 | AF_CONTROL_FILTER_SPECIFIC
+
#endif /*__af_control_h */