typo fixes
[mplayer/greg.git] / libmpcodecs / ad.c
blob5cca0f9cc642f4b4ea8a6cbfa6f5f95665121939
1 /*
2 ad.c - audio decoder interface
3 */
5 #include <stdio.h>
6 #include <stdlib.h>
7 #include <string.h>
9 #include "config.h"
11 #include "stream.h"
12 #include "demuxer.h"
13 #include "stheader.h"
14 #include "ad.h"
16 /* Missed vorbis, mad, dshow */
18 //extern ad_functions_t mpcodecs_ad_null;
19 extern ad_functions_t mpcodecs_ad_mp3lib;
20 extern ad_functions_t mpcodecs_ad_ffmpeg;
21 extern ad_functions_t mpcodecs_ad_liba52;
22 extern ad_functions_t mpcodecs_ad_hwac3;
23 extern ad_functions_t mpcodecs_ad_hwmpa;
24 extern ad_functions_t mpcodecs_ad_pcm;
25 extern ad_functions_t mpcodecs_ad_dvdpcm;
26 extern ad_functions_t mpcodecs_ad_alaw;
27 extern ad_functions_t mpcodecs_ad_imaadpcm;
28 extern ad_functions_t mpcodecs_ad_msadpcm;
29 extern ad_functions_t mpcodecs_ad_dk3adpcm;
30 extern ad_functions_t mpcodecs_ad_dk4adpcm;
31 extern ad_functions_t mpcodecs_ad_dshow;
32 extern ad_functions_t mpcodecs_ad_dmo;
33 extern ad_functions_t mpcodecs_ad_acm;
34 extern ad_functions_t mpcodecs_ad_msgsm;
35 extern ad_functions_t mpcodecs_ad_faad;
36 extern ad_functions_t mpcodecs_ad_libvorbis;
37 extern ad_functions_t mpcodecs_ad_speex;
38 extern ad_functions_t mpcodecs_ad_libmad;
39 extern ad_functions_t mpcodecs_ad_realaud;
40 extern ad_functions_t mpcodecs_ad_libdv;
41 extern ad_functions_t mpcodecs_ad_qtaudio;
42 extern ad_functions_t mpcodecs_ad_twin;
43 extern ad_functions_t mpcodecs_ad_libmusepack;
45 ad_functions_t* mpcodecs_ad_drivers[] =
47 // &mpcodecs_ad_null,
48 #ifdef USE_MP3LIB
49 &mpcodecs_ad_mp3lib,
50 #endif
51 #ifdef USE_LIBA52
52 &mpcodecs_ad_liba52,
53 &mpcodecs_ad_hwac3,
54 #endif
55 &mpcodecs_ad_hwmpa,
56 #ifdef USE_LIBAVCODEC
57 &mpcodecs_ad_ffmpeg,
58 #endif
59 &mpcodecs_ad_pcm,
60 &mpcodecs_ad_dvdpcm,
61 &mpcodecs_ad_alaw,
62 &mpcodecs_ad_imaadpcm,
63 &mpcodecs_ad_msadpcm,
64 &mpcodecs_ad_dk3adpcm,
65 &mpcodecs_ad_msgsm,
66 #ifdef USE_WIN32DLL
67 #ifdef USE_DIRECTSHOW
68 &mpcodecs_ad_dshow,
69 &mpcodecs_ad_dmo,
70 #endif
71 &mpcodecs_ad_acm,
72 &mpcodecs_ad_twin,
73 #endif
74 #if defined(USE_QTX_CODECS) || defined(MACOSX)
75 &mpcodecs_ad_qtaudio,
76 #endif
77 #ifdef HAVE_FAAD
78 &mpcodecs_ad_faad,
79 #endif
80 #ifdef HAVE_OGGVORBIS
81 &mpcodecs_ad_libvorbis,
82 #endif
83 #ifdef HAVE_SPEEX
84 &mpcodecs_ad_speex,
85 #endif
86 #ifdef USE_LIBMAD
87 &mpcodecs_ad_libmad,
88 #endif
89 #ifdef USE_REALCODECS
90 &mpcodecs_ad_realaud,
91 #endif
92 #ifdef HAVE_LIBDV095
93 &mpcodecs_ad_libdv,
94 #endif
95 #ifdef HAVE_MUSEPACK
96 &mpcodecs_ad_libmusepack,
97 #endif
98 NULL