summaryrefslogtreecommitdiffstats
path: root/libaf
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-30 10:09:14 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-30 10:09:14 +0000
commit3bbbb21ada40a75298895cbbcd84de6d791d5a06 (patch)
tree86d669db3bf5f8749000efdbfe1afb51123d4648 /libaf
parent1cf12c2492ac98b1e0ecd2374f18e491c980f4e1 (diff)
downloadmpv-3bbbb21ada40a75298895cbbcd84de6d791d5a06.tar.bz2
mpv-3bbbb21ada40a75298895cbbcd84de6d791d5a06.tar.xz
Make the code match the documentation by making higher-quality but slower
audio filtering the default. This mostly means lavcresample being the default instead of plain "resample". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30455 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf')
-rw-r--r--libaf/af.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/libaf/af.h b/libaf/af.h
index 6f3c1296ef..b6b546525e 100644
--- a/libaf/af.h
+++ b/libaf/af.h
@@ -28,13 +28,6 @@
#include "cpudetect.h"
#include "mp_msg.h"
-/* Set the initialization type from mplayers cpudetect */
-#ifdef AF_INIT_TYPE
-#undef AF_INIT_TYPE
-#define AF_INIT_TYPE \
- ((gCpuCaps.has3DNow || gCpuCaps.hasSSE)?AF_INIT_FAST:AF_INIT_SLOW)
-#endif
-
struct af_instance_s;
// Number of channels
@@ -102,12 +95,8 @@ extern int* af_cpu_speed;
// Default init type
#ifndef AF_INIT_TYPE
-#if HAVE_SSE || HAVE_AMD3DNOW
-#define AF_INIT_TYPE (af_cpu_speed?*af_cpu_speed:AF_INIT_FAST)
-#else
#define AF_INIT_TYPE (af_cpu_speed?*af_cpu_speed:AF_INIT_SLOW)
#endif
-#endif
// Configuration switches
typedef struct af_cfg_s{