DOCS/xml: change --with-extraincdir to --extra-cflags
[mplayer/glamo.git] / libmpcodecs / ad.c
blob2e431e6c48276c8bdca3bb1cb50ad4d205982ba4
1 /*
2 * audio decoder interface
4 * This file is part of MPlayer.
6 * MPlayer is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * MPlayer is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #include <stdio.h>
22 #include <stdlib.h>
23 #include <string.h>
25 #include "config.h"
27 #include "stream/stream.h"
28 #include "libmpdemux/demuxer.h"
29 #include "libmpdemux/stheader.h"
30 #include "ad.h"
32 /* Missed vorbis, mad, dshow */
34 extern const ad_functions_t mpcodecs_ad_mpg123;
35 extern const ad_functions_t mpcodecs_ad_mp3lib;
36 extern const ad_functions_t mpcodecs_ad_ffmpeg;
37 extern const ad_functions_t mpcodecs_ad_liba52;
38 extern const ad_functions_t mpcodecs_ad_hwac3;
39 extern const ad_functions_t mpcodecs_ad_hwmpa;
40 extern const ad_functions_t mpcodecs_ad_pcm;
41 extern const ad_functions_t mpcodecs_ad_dvdpcm;
42 extern const ad_functions_t mpcodecs_ad_alaw;
43 extern const ad_functions_t mpcodecs_ad_imaadpcm;
44 extern const ad_functions_t mpcodecs_ad_msadpcm;
45 extern const ad_functions_t mpcodecs_ad_dk3adpcm;
46 extern const ad_functions_t mpcodecs_ad_dk4adpcm;
47 extern const ad_functions_t mpcodecs_ad_dshow;
48 extern const ad_functions_t mpcodecs_ad_dmo;
49 extern const ad_functions_t mpcodecs_ad_acm;
50 extern const ad_functions_t mpcodecs_ad_faad;
51 extern const ad_functions_t mpcodecs_ad_libvorbis;
52 extern const ad_functions_t mpcodecs_ad_speex;
53 extern const ad_functions_t mpcodecs_ad_libmad;
54 extern const ad_functions_t mpcodecs_ad_realaud;
55 extern const ad_functions_t mpcodecs_ad_libdv;
56 extern const ad_functions_t mpcodecs_ad_qtaudio;
57 extern const ad_functions_t mpcodecs_ad_twin;
58 extern const ad_functions_t mpcodecs_ad_libmusepack;
59 extern const ad_functions_t mpcodecs_ad_libdca;
61 const ad_functions_t * const mpcodecs_ad_drivers[] =
63 #ifdef CONFIG_MPG123
64 &mpcodecs_ad_mpg123,
65 #endif
66 #ifdef CONFIG_MP3LIB
67 &mpcodecs_ad_mp3lib,
68 #endif
69 #ifdef CONFIG_LIBA52
70 &mpcodecs_ad_liba52,
71 #endif
72 &mpcodecs_ad_hwac3,
73 &mpcodecs_ad_hwmpa,
74 #ifdef CONFIG_FFMPEG
75 &mpcodecs_ad_ffmpeg,
76 #endif
77 &mpcodecs_ad_pcm,
78 &mpcodecs_ad_dvdpcm,
79 &mpcodecs_ad_alaw,
80 &mpcodecs_ad_imaadpcm,
81 &mpcodecs_ad_msadpcm,
82 &mpcodecs_ad_dk3adpcm,
83 #ifdef CONFIG_WIN32DLL
84 &mpcodecs_ad_dshow,
85 &mpcodecs_ad_dmo,
86 &mpcodecs_ad_acm,
87 &mpcodecs_ad_twin,
88 #endif
89 #ifdef CONFIG_QTX_CODECS
90 &mpcodecs_ad_qtaudio,
91 #endif
92 #ifdef CONFIG_FAAD
93 &mpcodecs_ad_faad,
94 #endif
95 #ifdef CONFIG_OGGVORBIS
96 &mpcodecs_ad_libvorbis,
97 #endif
98 #ifdef CONFIG_SPEEX
99 &mpcodecs_ad_speex,
100 #endif
101 #ifdef CONFIG_LIBMAD
102 &mpcodecs_ad_libmad,
103 #endif
104 #ifdef CONFIG_REALCODECS
105 &mpcodecs_ad_realaud,
106 #endif
107 #ifdef CONFIG_LIBDV095
108 &mpcodecs_ad_libdv,
109 #endif
110 #ifdef CONFIG_MUSEPACK
111 &mpcodecs_ad_libmusepack,
112 #endif
113 #ifdef CONFIG_LIBDCA
114 &mpcodecs_ad_libdca,
115 #endif
116 NULL