[MPlayer-cvslog] r30455 - trunk/libaf/af.h

reimar subversion at mplayerhq.hu
Sat Jan 30 11:09:14 CET 2010


Author: reimar
Date: Sat Jan 30 11:09:14 2010
New Revision: 30455

Log:
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".

Modified:
   trunk/libaf/af.h

Modified: trunk/libaf/af.h
==============================================================================
--- trunk/libaf/af.h	Fri Jan 29 20:13:07 2010	(r30454)
+++ trunk/libaf/af.h	Sat Jan 30 11:09:14 2010	(r30455)
@@ -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{


More information about the MPlayer-cvslog mailing list