comparison libmpcodecs/ad.c @ 5344:7198d3eba09f

ok, use ad_* stuff
author arpi
date Mon, 25 Mar 2002 22:04:33 +0000
parents
children 81071ffb7b22
comparison
equal deleted inserted replaced
5343:3dd532400d44 5344:7198d3eba09f
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_dk4adpcm;
29 extern ad_functions_t mpcodecs_ad_dk3adpcm;
30 extern ad_functions_t mpcodecs_ad_roqaudio;
31 extern ad_functions_t mpcodecs_ad_dshow;
32 extern ad_functions_t mpcodecs_ad_acm;
33
34 ad_functions_t* mpcodecs_ad_drivers[] =
35 {
36 // &mpcodecs_ad_null,
37 &mpcodecs_ad_mp3lib,
38 &mpcodecs_ad_liba52,
39 &mpcodecs_ad_hwac3,
40 #ifdef USE_LIBAVCODEC
41 &mpcodecs_ad_ffmpeg,
42 #endif
43 &mpcodecs_ad_pcm,
44 &mpcodecs_ad_dvdpcm,
45 &mpcodecs_ad_alaw,
46 &mpcodecs_ad_imaadpcm,
47 &mpcodecs_ad_msadpcm,
48 &mpcodecs_ad_dk4adpcm,
49 &mpcodecs_ad_dk3adpcm,
50 &mpcodecs_ad_roqaudio,
51 #ifdef USE_WIN32DLL
52 #ifdef USE_DIRECTSHOW
53 &mpcodecs_ad_dshow,
54 #endif
55 &mpcodecs_ad_acm,
56 #endif
57 NULL
58 };