mirror of
https://github.com/mpv-player/mpv
synced 2024-10-22 08:51:57 +02:00
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
This commit is contained in:
parent
1cf12c2492
commit
3bbbb21ada
11
libaf/af.h
11
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{
|
||||
|
Loading…
Reference in New Issue
Block a user