build: remove IRIX support
[mplayer.git] / libmpcodecs / ad.c
blob0ab5d4497101691cc1255c49b1a736922a5c9171
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_ffmpeg;
36 extern const ad_functions_t mpcodecs_ad_liba52;
37 extern const ad_functions_t mpcodecs_ad_hwac3;
38 extern const ad_functions_t mpcodecs_ad_hwmpa;
39 extern const ad_functions_t mpcodecs_ad_pcm;
40 extern const ad_functions_t mpcodecs_ad_dvdpcm;
41 extern const ad_functions_t mpcodecs_ad_alaw;
42 extern const ad_functions_t mpcodecs_ad_imaadpcm;
43 extern const ad_functions_t mpcodecs_ad_msadpcm;
44 extern const ad_functions_t mpcodecs_ad_dk3adpcm;
45 extern const ad_functions_t mpcodecs_ad_dk4adpcm;
46 extern const ad_functions_t mpcodecs_ad_dshow;
47 extern const ad_functions_t mpcodecs_ad_dmo;
48 extern const ad_functions_t mpcodecs_ad_acm;
49 extern const ad_functions_t mpcodecs_ad_faad;
50 extern const ad_functions_t mpcodecs_ad_libvorbis;
51 extern const ad_functions_t mpcodecs_ad_speex;
52 extern const ad_functions_t mpcodecs_ad_libmad;
53 extern const ad_functions_t mpcodecs_ad_realaud;
54 extern const ad_functions_t mpcodecs_ad_libdv;
55 extern const ad_functions_t mpcodecs_ad_qtaudio;
56 extern const ad_functions_t mpcodecs_ad_twin;
57 extern const ad_functions_t mpcodecs_ad_libmusepack;
58 extern const ad_functions_t mpcodecs_ad_libdca;
60 const ad_functions_t * const mpcodecs_ad_drivers[] =
62 #ifdef CONFIG_MPG123
63 &mpcodecs_ad_mpg123,
64 #endif
65 #ifdef CONFIG_LIBA52
66 &mpcodecs_ad_liba52,
67 #endif
68 &mpcodecs_ad_hwac3,
69 &mpcodecs_ad_hwmpa,
70 &mpcodecs_ad_ffmpeg,
71 &mpcodecs_ad_pcm,
72 &mpcodecs_ad_dvdpcm,
73 &mpcodecs_ad_alaw,
74 &mpcodecs_ad_imaadpcm,
75 &mpcodecs_ad_msadpcm,
76 &mpcodecs_ad_dk3adpcm,
77 #ifdef CONFIG_WIN32DLL
78 &mpcodecs_ad_dshow,
79 &mpcodecs_ad_dmo,
80 &mpcodecs_ad_acm,
81 &mpcodecs_ad_twin,
82 #endif
83 #ifdef CONFIG_QTX_CODECS
84 &mpcodecs_ad_qtaudio,
85 #endif
86 #ifdef CONFIG_FAAD
87 &mpcodecs_ad_faad,
88 #endif
89 #ifdef CONFIG_OGGVORBIS
90 &mpcodecs_ad_libvorbis,
91 #endif
92 #ifdef CONFIG_SPEEX
93 &mpcodecs_ad_speex,
94 #endif
95 #ifdef CONFIG_LIBMAD
96 &mpcodecs_ad_libmad,
97 #endif
98 #ifdef CONFIG_REALCODECS
99 &mpcodecs_ad_realaud,
100 #endif
101 #ifdef CONFIG_LIBDV095
102 &mpcodecs_ad_libdv,
103 #endif
104 #ifdef CONFIG_MUSEPACK
105 &mpcodecs_ad_libmusepack,
106 #endif
107 #ifdef CONFIG_LIBDCA
108 &mpcodecs_ad_libdca,
109 #endif
110 NULL