Mercurial > mplayer.hg
comparison libaf/af_mp.h @ 8167:e8832e66babd
New features:
-- Support for runtime cpu detection
-- Stand alone compile of libaf
-- Unlimited number of channels (compiletime switch)
-- Sample format defined by bit-fields
-- New formats: float, A-Law and mu-law
-- Format conversion set in human readable format
i.e. format=4:us_be to set 32 bit unsigned big endian output
-- Format reporting in human readable format
-- Volume control has only one parameter for setting the volume
i.e. volume=-10.0:1:0:1 to set atenuation = -10dB
author | anders |
---|---|
date | Tue, 12 Nov 2002 12:33:56 +0000 |
parents | |
children | 265cbc7079c0 |
comparison
equal
deleted
inserted
replaced
8166:1a824d76d2a9 | 8167:e8832e66babd |
---|---|
1 /* Include file for mplayer specific defines and includes */ | |
2 #ifndef __af_mp_h__ | |
3 #define __af_mp_h__ | |
4 | |
5 #include "../config.h" | |
6 #include "../mp_msg.h" | |
7 #include "../cpudetect.h" | |
8 #include "../libao2/afmt.h" | |
9 | |
10 /* Set the initialization type from mplayers cpudetect */ | |
11 #ifdef AF_INIT_TYPE | |
12 #undef AF_INIT_TYPE | |
13 #define AF_INIT_TYPE \ | |
14 ((gCpuCaps.has3DNow || gCpuCaps.hasSSE)?AF_INIT_FAST:AF_INIT_SLOW) | |
15 #endif | |
16 | |
17 #ifdef af_msg | |
18 #undef af_msg | |
19 #endif | |
20 #define af_msg(lev, args... ) \ | |
21 mp_msg(MSGT_AFILTER,((lev<0)?(lev+3):((lev==0)?MSGL_INFO:(lev+5))), args ## ) | |
22 | |
23 /* Decodes the format from mplayer format to libaf format */ | |
24 extern int af_format_decode(int format); | |
25 | |
26 #endif /* __af_mp_h__ */ |