comparison libmpcodecs/ae.c @ 27363:40057010b1fa

Change a bunch of codec-specific preprocessor directives from a HAVE_ prefix to a CONFIG_ prefix.
author diego
date Sat, 02 Aug 2008 16:30:32 +0000
parents e7c989f7a7c9
children 0f1b5b68af32
comparison
equal deleted inserted replaced
27362:9020d4c7bd32 27363:40057010b1fa
12 #include "libmpdemux/muxer.h" 12 #include "libmpdemux/muxer.h"
13 #include "ae.h" 13 #include "ae.h"
14 14
15 #include "ae_pcm.h" 15 #include "ae_pcm.h"
16 16
17 #ifdef HAVE_TOOLAME 17 #ifdef CONFIG_TOOLAME
18 #include "ae_toolame.h" 18 #include "ae_toolame.h"
19 #endif 19 #endif
20 20
21 #ifdef HAVE_MP3LAME 21 #ifdef CONFIG_MP3LAME
22 #include "ae_lame.h" 22 #include "ae_lame.h"
23 #endif 23 #endif
24 24
25 #ifdef CONFIG_LIBAVCODEC 25 #ifdef CONFIG_LIBAVCODEC
26 #include "ae_lavc.h" 26 #include "ae_lavc.h"
27 #endif 27 #endif
28 28
29 #ifdef HAVE_FAAC 29 #ifdef CONFIG_FAAC
30 #include "ae_faac.h" 30 #include "ae_faac.h"
31 #endif 31 #endif
32 32
33 #ifdef HAVE_TWOLAME 33 #ifdef CONFIG_TWOLAME
34 #include "ae_twolame.h" 34 #include "ae_twolame.h"
35 #endif 35 #endif
36 36
37 audio_encoder_t *new_audio_encoder(muxer_stream_t *stream, audio_encoding_params_t *params) 37 audio_encoder_t *new_audio_encoder(muxer_stream_t *stream, audio_encoding_params_t *params)
38 { 38 {
48 switch(stream->codec) 48 switch(stream->codec)
49 { 49 {
50 case ACODEC_PCM: 50 case ACODEC_PCM:
51 ris = mpae_init_pcm(encoder); 51 ris = mpae_init_pcm(encoder);
52 break; 52 break;
53 #ifdef HAVE_TOOLAME 53 #ifdef CONFIG_TOOLAME
54 case ACODEC_TOOLAME: 54 case ACODEC_TOOLAME:
55 ris = mpae_init_toolame(encoder); 55 ris = mpae_init_toolame(encoder);
56 break; 56 break;
57 #endif 57 #endif
58 #ifdef CONFIG_LIBAVCODEC 58 #ifdef CONFIG_LIBAVCODEC
59 case ACODEC_LAVC: 59 case ACODEC_LAVC:
60 ris = mpae_init_lavc(encoder); 60 ris = mpae_init_lavc(encoder);
61 break; 61 break;
62 #endif 62 #endif
63 #ifdef HAVE_MP3LAME 63 #ifdef CONFIG_MP3LAME
64 case ACODEC_VBRMP3: 64 case ACODEC_VBRMP3:
65 ris = mpae_init_lame(encoder); 65 ris = mpae_init_lame(encoder);
66 break; 66 break;
67 #endif 67 #endif
68 #ifdef HAVE_FAAC 68 #ifdef CONFIG_FAAC
69 case ACODEC_FAAC: 69 case ACODEC_FAAC:
70 ris = mpae_init_faac(encoder); 70 ris = mpae_init_faac(encoder);
71 break; 71 break;
72 #endif 72 #endif
73 #ifdef HAVE_TWOLAME 73 #ifdef CONFIG_TWOLAME
74 case ACODEC_TWOLAME: 74 case ACODEC_TWOLAME:
75 ris = mpae_init_twolame(encoder); 75 ris = mpae_init_twolame(encoder);
76 break; 76 break;
77 #endif 77 #endif
78 default: 78 default: