changeset 30413:e75026202313

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".
author reimar
date Sat, 30 Jan 2010 10:09:14 +0000
parents 41fb4acf3df6
children e5abaf769020
files libaf/af.h
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/libaf/af.h	Fri Jan 29 19:13:07 2010 +0000
+++ b/libaf/af.h	Sat Jan 30 10:09:14 2010 +0000
@@ -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 @@
 
 // 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{