# HG changeset patch # User reimar # Date 1264846154 0 # Node ID e75026202313b560c41b47b7b83a23e829a0074e # Parent 41fb4acf3df6522994e96250e2a21d957ade2c76 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". diff -r 41fb4acf3df6 -r e75026202313 libaf/af.h --- 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{