Mercurial > mplayer.hg
annotate libmpcodecs/ad.c @ 12472:87348db65305
-ao option removed, there is a AUDIO OUTPUT DRIVERS section for that now,
said section extended, "," should be ":" as pointed out by joyping.
author | diego |
---|---|
date | Fri, 14 May 2004 17:44:56 +0000 |
parents | daac05a7e208 |
children | f7c6d352c238 |
rev | line source |
---|---|
5344 | 1 /* |
2 ad.c - audio decoder interface | |
3 */ | |
4 | |
5 #include <stdio.h> | |
6 #include <stdlib.h> | |
7 #include <string.h> | |
8 | |
9 #include "config.h" | |
10 | |
11 #include "stream.h" | |
12 #include "demuxer.h" | |
13 #include "stheader.h" | |
14 #include "ad.h" | |
15 | |
16 /* Missed vorbis, mad, dshow */ | |
17 | |
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_pcm; | |
24 extern ad_functions_t mpcodecs_ad_dvdpcm; | |
25 extern ad_functions_t mpcodecs_ad_alaw; | |
26 extern ad_functions_t mpcodecs_ad_imaadpcm; | |
27 extern ad_functions_t mpcodecs_ad_msadpcm; | |
28 extern ad_functions_t mpcodecs_ad_dk3adpcm; | |
5519 | 29 extern ad_functions_t mpcodecs_ad_dk4adpcm; |
5344 | 30 extern ad_functions_t mpcodecs_ad_roqaudio; |
31 extern ad_functions_t mpcodecs_ad_dshow; | |
8326 | 32 extern ad_functions_t mpcodecs_ad_dmo; |
5344 | 33 extern ad_functions_t mpcodecs_ad_acm; |
5345 | 34 extern ad_functions_t mpcodecs_ad_msgsm; |
5356
739cad21c32c
Port dec_audio.c faad aac decoder to libmpcodecs, cleaned up code, improved buffering scheme.
atmos4
parents:
5345
diff
changeset
|
35 extern ad_functions_t mpcodecs_ad_faad; |
7174 | 36 extern ad_functions_t mpcodecs_ad_libvorbis; |
5479
22b289d7f87f
libmad support, rewritten from scratch using Xine decoder as sample
arpi
parents:
5454
diff
changeset
|
37 extern ad_functions_t mpcodecs_ad_libmad; |
7174 | 38 extern ad_functions_t mpcodecs_ad_realaud; |
6927 | 39 extern ad_functions_t mpcodecs_ad_libdv; |
8008 | 40 extern ad_functions_t mpcodecs_ad_qtaudio; |
10261
05a50c0ce239
RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
9502
diff
changeset
|
41 extern ad_functions_t mpcodecs_ad_ra1428; |
5344 | 42 |
43 ad_functions_t* mpcodecs_ad_drivers[] = | |
44 { | |
45 // &mpcodecs_ad_null, | |
8026
b465ba5897a3
usage of libmpeg2, liba52, mp3lib & svq1 can be disabled
arpi
parents:
8008
diff
changeset
|
46 #ifdef USE_MP3LIB |
5344 | 47 &mpcodecs_ad_mp3lib, |
8026
b465ba5897a3
usage of libmpeg2, liba52, mp3lib & svq1 can be disabled
arpi
parents:
8008
diff
changeset
|
48 #endif |
b465ba5897a3
usage of libmpeg2, liba52, mp3lib & svq1 can be disabled
arpi
parents:
8008
diff
changeset
|
49 #ifdef USE_LIBA52 |
5344 | 50 &mpcodecs_ad_liba52, |
51 &mpcodecs_ad_hwac3, | |
8026
b465ba5897a3
usage of libmpeg2, liba52, mp3lib & svq1 can be disabled
arpi
parents:
8008
diff
changeset
|
52 #endif |
5344 | 53 #ifdef USE_LIBAVCODEC |
54 &mpcodecs_ad_ffmpeg, | |
55 #endif | |
56 &mpcodecs_ad_pcm, | |
57 &mpcodecs_ad_dvdpcm, | |
58 &mpcodecs_ad_alaw, | |
59 &mpcodecs_ad_imaadpcm, | |
60 &mpcodecs_ad_msadpcm, | |
61 &mpcodecs_ad_dk3adpcm, | |
62 &mpcodecs_ad_roqaudio, | |
5345 | 63 &mpcodecs_ad_msgsm, |
5344 | 64 #ifdef USE_WIN32DLL |
65 #ifdef USE_DIRECTSHOW | |
66 &mpcodecs_ad_dshow, | |
8326 | 67 &mpcodecs_ad_dmo, |
5344 | 68 #endif |
69 &mpcodecs_ad_acm, | |
8160 | 70 #endif |
9502
241bba8f60e8
MACOSX support patch, based on Dan Christiansens work
alex
parents:
8326
diff
changeset
|
71 #if defined(USE_QTX_CODECS) || defined(MACOSX) |
8008 | 72 &mpcodecs_ad_qtaudio, |
5344 | 73 #endif |
5356
739cad21c32c
Port dec_audio.c faad aac decoder to libmpcodecs, cleaned up code, improved buffering scheme.
atmos4
parents:
5345
diff
changeset
|
74 #ifdef HAVE_FAAD |
5454 | 75 &mpcodecs_ad_faad, |
76 #endif | |
77 #ifdef HAVE_OGGVORBIS | |
7174 | 78 &mpcodecs_ad_libvorbis, |
5356
739cad21c32c
Port dec_audio.c faad aac decoder to libmpcodecs, cleaned up code, improved buffering scheme.
atmos4
parents:
5345
diff
changeset
|
79 #endif |
5479
22b289d7f87f
libmad support, rewritten from scratch using Xine decoder as sample
arpi
parents:
5454
diff
changeset
|
80 #ifdef USE_LIBMAD |
22b289d7f87f
libmad support, rewritten from scratch using Xine decoder as sample
arpi
parents:
5454
diff
changeset
|
81 &mpcodecs_ad_libmad, |
22b289d7f87f
libmad support, rewritten from scratch using Xine decoder as sample
arpi
parents:
5454
diff
changeset
|
82 #endif |
6367 | 83 #ifdef USE_REALCODECS |
7174 | 84 &mpcodecs_ad_realaud, |
6367 | 85 #endif |
6927 | 86 #ifdef HAVE_LIBDV095 |
87 &mpcodecs_ad_libdv, | |
88 #endif | |
10261
05a50c0ce239
RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
9502
diff
changeset
|
89 &mpcodecs_ad_ra1428, |
5344 | 90 NULL |
91 }; |