Improve VDPAU noforce-mixer documentation.
[mplayer.git] / libmpcodecs / ad.c
blob01b9b26d9fcb8ab993ee868daa1d6cb058437479
1 /* audio decoder interface */
3 #include <stdio.h>
4 #include <stdlib.h>
5 #include <string.h>
7 #include "config.h"
9 #include "stream/stream.h"
10 #include "libmpdemux/demuxer.h"
11 #include "libmpdemux/stheader.h"
12 #include "ad.h"
14 /* Missed vorbis, mad, dshow */
16 //extern ad_functions_t mpcodecs_ad_null;
17 extern ad_functions_t mpcodecs_ad_mp3lib;
18 extern ad_functions_t mpcodecs_ad_ffmpeg;
19 extern ad_functions_t mpcodecs_ad_liba52;
20 extern ad_functions_t mpcodecs_ad_hwac3;
21 extern ad_functions_t mpcodecs_ad_hwmpa;
22 extern ad_functions_t mpcodecs_ad_pcm;
23 extern ad_functions_t mpcodecs_ad_dvdpcm;
24 extern ad_functions_t mpcodecs_ad_alaw;
25 extern ad_functions_t mpcodecs_ad_imaadpcm;
26 extern ad_functions_t mpcodecs_ad_msadpcm;
27 extern ad_functions_t mpcodecs_ad_dk3adpcm;
28 extern ad_functions_t mpcodecs_ad_dk4adpcm;
29 extern ad_functions_t mpcodecs_ad_dshow;
30 extern ad_functions_t mpcodecs_ad_dmo;
31 extern ad_functions_t mpcodecs_ad_acm;
32 extern ad_functions_t mpcodecs_ad_msgsm;
33 extern ad_functions_t mpcodecs_ad_faad;
34 extern ad_functions_t mpcodecs_ad_libvorbis;
35 extern ad_functions_t mpcodecs_ad_speex;
36 extern ad_functions_t mpcodecs_ad_libmad;
37 extern ad_functions_t mpcodecs_ad_realaud;
38 extern ad_functions_t mpcodecs_ad_libdv;
39 extern ad_functions_t mpcodecs_ad_qtaudio;
40 extern ad_functions_t mpcodecs_ad_twin;
41 extern ad_functions_t mpcodecs_ad_libmusepack;
42 extern ad_functions_t mpcodecs_ad_libdca;
44 ad_functions_t* mpcodecs_ad_drivers[] =
46 // &mpcodecs_ad_null,
47 #ifdef CONFIG_MP3LIB
48 &mpcodecs_ad_mp3lib,
49 #endif
50 #ifdef CONFIG_LIBA52
51 &mpcodecs_ad_liba52,
52 &mpcodecs_ad_hwac3,
53 #endif
54 &mpcodecs_ad_hwmpa,
55 #ifdef CONFIG_LIBAVCODEC
56 &mpcodecs_ad_ffmpeg,
57 #endif
58 &mpcodecs_ad_pcm,
59 &mpcodecs_ad_dvdpcm,
60 &mpcodecs_ad_alaw,
61 &mpcodecs_ad_imaadpcm,
62 &mpcodecs_ad_msadpcm,
63 &mpcodecs_ad_dk3adpcm,
64 &mpcodecs_ad_msgsm,
65 #ifdef CONFIG_WIN32DLL
66 &mpcodecs_ad_dshow,
67 &mpcodecs_ad_dmo,
68 &mpcodecs_ad_acm,
69 &mpcodecs_ad_twin,
70 #endif
71 #ifdef CONFIG_QTX_CODECS
72 &mpcodecs_ad_qtaudio,
73 #endif
74 #ifdef CONFIG_FAAD
75 &mpcodecs_ad_faad,
76 #endif
77 #ifdef CONFIG_OGGVORBIS
78 &mpcodecs_ad_libvorbis,
79 #endif
80 #ifdef CONFIG_SPEEX
81 &mpcodecs_ad_speex,
82 #endif
83 #ifdef CONFIG_LIBMAD
84 &mpcodecs_ad_libmad,
85 #endif
86 #ifdef CONFIG_REALCODECS
87 &mpcodecs_ad_realaud,
88 #endif
89 #ifdef CONFIG_LIBDV095
90 &mpcodecs_ad_libdv,
91 #endif
92 #ifdef CONFIG_MUSEPACK
93 &mpcodecs_ad_libmusepack,
94 #endif
95 #ifdef CONFIG_LIBDCA
96 &mpcodecs_ad_libdca,
97 #endif
98 NULL