report if the service creation failed
[mplayer/greg.git] / libaf / af_mp.h
blob7d3918a55ae0d098d63a82791dd95aa5d53bd1d4
1 /* Include file for mplayer specific defines and includes */
2 #ifndef __af_mp_h__
3 #define __af_mp_h__
5 #include "../config.h"
6 #include "../mp_msg.h"
7 #include "../cpudetect.h"
8 #include "../libao2/afmt.h"
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
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 )
23 /* Decodes the format from mplayer format to libaf format */
24 extern int af_format_decode(int format);
25 extern int af_format_encode(void* fmt);
27 #endif /* __af_mp_h__ */