Mercurial > mplayer.hg
comparison libaf/af_mp.h @ 29049:8c706ce21c6f
Remove af_msg special-casing API in libaf.
Replace it by standard mp_msg message system.
author | bircoph |
---|---|
date | Sat, 28 Mar 2009 19:57:56 +0000 |
parents | 72d0b1444141 |
children |
comparison
equal
deleted
inserted
replaced
29048:584ff003cce9 | 29049:8c706ce21c6f |
---|---|
19 /* Include file for mplayer specific defines and includes */ | 19 /* Include file for mplayer specific defines and includes */ |
20 #ifndef MPLAYER_AF_MP_H | 20 #ifndef MPLAYER_AF_MP_H |
21 #define MPLAYER_AF_MP_H | 21 #define MPLAYER_AF_MP_H |
22 | 22 |
23 #include "config.h" | 23 #include "config.h" |
24 #include "mp_msg.h" | |
25 #include "cpudetect.h" | 24 #include "cpudetect.h" |
26 | 25 |
27 /* Set the initialization type from mplayers cpudetect */ | 26 /* Set the initialization type from mplayers cpudetect */ |
28 #ifdef AF_INIT_TYPE | 27 #ifdef AF_INIT_TYPE |
29 #undef AF_INIT_TYPE | 28 #undef AF_INIT_TYPE |
30 #define AF_INIT_TYPE \ | 29 #define AF_INIT_TYPE \ |
31 ((gCpuCaps.has3DNow || gCpuCaps.hasSSE)?AF_INIT_FAST:AF_INIT_SLOW) | 30 ((gCpuCaps.has3DNow || gCpuCaps.hasSSE)?AF_INIT_FAST:AF_INIT_SLOW) |
32 #endif | 31 #endif |
33 | 32 |
34 #ifdef af_msg | |
35 #undef af_msg | |
36 #endif | |
37 #define af_msg(lev, args... ) \ | |
38 mp_msg(MSGT_AFILTER,(((lev)<0)?((lev)+3):(((lev)==0)?MSGL_INFO:((lev)+5))), ##args ) | |
39 | |
40 #endif /* MPLAYER_AF_MP_H */ | 33 #endif /* MPLAYER_AF_MP_H */ |