Ticket #507: ticket507.2.patch
File ticket507.2.patch, 6.6 KB (added by nanang, 17 years ago) |
---|
-
aconfigure.ac
499 499 fi], 500 500 AC_MSG_RESULT([Checking if iLBC codec is disabled...no])) 501 501 502 dnl # Include G722 codec 503 AC_SUBST(ac_no_g722_codec) 504 AC_ARG_ENABLE(g722-codec, 505 AC_HELP_STRING([--disable-g722-codec], 506 [Exclude G722 codec in the build]), 507 [if test "$enable_g722_codec" = "no"; then 508 [ac_no_g722_codec=1] 509 AC_DEFINE(PJMEDIA_HAS_G722_CODEC,0) 510 AC_MSG_RESULT([Checking if G722 codec is disabled...yes]) 511 fi], 512 AC_MSG_RESULT([Checking if G722 codec is disabled...no])) 513 502 514 dnl # Include libsamplerate 503 515 AC_ARG_ENABLE(libsamplerate, 504 516 AC_HELP_STRING([--enable-libsamplerate], -
pjmedia/build/os-linux.mak
18 18 AC_NO_GSM_CODEC=0 19 19 AC_NO_SPEEX_CODEC=0 20 20 AC_NO_ILBC_CODEC=0 21 AC_NO_G722_CODEC=0 21 22 22 23 export CODEC_OBJS= 23 24 … … 57 58 export CODEC_OBJS += ilbc.o 58 59 endif 59 60 61 ifeq ($(AC_NO_G722_CODEC),1) 62 export CFLAGS += -DPJMEDIA_HAS_G722_CODEC=0 63 else 64 export CODEC_OBJS += g722.o g722/g722_enc.o g722/g722_dec.o 65 endif 60 66 67 61 68 # 62 69 # PortAudio 63 70 # -
pjmedia/build/os-win32.mak
19 19 AC_NO_GSM_CODEC=0 20 20 AC_NO_SPEEX_CODEC=0 21 21 AC_NO_ILBC_CODEC=0 22 AC_NO_G722_CODEC=0 22 23 23 24 export CODEC_OBJS= 24 25 … … 59 60 export CODEC_OBJS += ilbc.o 60 61 endif 61 62 63 ifeq ($(AC_NO_G722_CODEC),1) 64 export CFLAGS += -DPJMEDIA_HAS_G722_CODEC=0 65 else 66 export CODEC_OBJS += g722.o g722/g722_enc.o g722/g722_dec.o 67 endif 62 68 69 63 70 # 64 71 # PortAudio 65 72 # -
pjmedia/build/os-auto.mak.in
26 26 AC_NO_GSM_CODEC=@ac_no_gsm_codec@ 27 27 AC_NO_SPEEX_CODEC=@ac_no_speex_codec@ 28 28 AC_NO_ILBC_CODEC=@ac_no_ilbc_codec@ 29 AC_NO_G722_CODEC=@ac_no_g722_codec@ 29 30 30 31 export CODEC_OBJS= 31 32 … … 65 66 export CODEC_OBJS += ilbc.o 66 67 endif 67 68 69 ifeq ($(AC_NO_G722_CODEC),1) 70 export CFLAGS += -DPJMEDIA_HAS_G722_CODEC=0 71 else 72 export CODEC_OBJS += g722.o g722/g722_enc.o g722/g722_dec.o 73 endif 68 74 75 69 76 # 70 77 # PortAudio 71 78 # -
pjmedia/build/os-darwinos.mak
23 23 AC_NO_GSM_CODEC=0 24 24 AC_NO_SPEEX_CODEC=0 25 25 AC_NO_ILBC_CODEC=0 26 AC_NO_G722_CODEC=0 26 27 27 28 export CODEC_OBJS= 28 29 … … 63 64 export CODEC_OBJS += ilbc.o 64 65 endif 65 66 67 ifeq ($(AC_NO_G722_CODEC),1) 68 export CFLAGS += -DPJMEDIA_HAS_G722_CODEC=0 69 else 70 export CODEC_OBJS += g722.o g722/g722_enc.o g722/g722_dec.o 71 endif 66 72 73 67 74 # 68 75 # PortAudio 69 76 # -
pjmedia/include/pjmedia-codec/config_auto.h.in
54 54 #endif 55 55 56 56 57 /* G722 codec */ 58 #ifndef PJMEDIA_HAS_G722_CODEC 59 #undef PJMEDIA_HAS_G722_CODEC 60 #endif 61 62 57 63 #endif /* __PJMEDIA_CODEC_CONFIG_AUTO_H_ */ 58 64 59 65 -
pjmedia/include/pjmedia-codec/config.h
60 60 #endif 61 61 62 62 63 /** 64 * Unless specified otherwise, G722 codec is included by default. 65 */ 66 #ifndef PJMEDIA_HAS_G722_CODEC 67 # define PJMEDIA_HAS_G722_CODEC 1 68 #endif 63 69 70 71 64 72 #endif /* __PJMEDIA_CODEC_CONFIG_H__ */ 65 73 -
pjmedia/include/pjmedia-codec.h
28 28 #include <pjmedia-codec/gsm.h> 29 29 #include <pjmedia-codec/speex.h> 30 30 #include <pjmedia-codec/ilbc.h> 31 #include <pjmedia-codec/g722.h> 31 32 32 33 33 34 #endif /* __PJMEDIA_CODEC_PJMEDIA_CODEC_H__ */ -
pjmedia/build/pjmedia_codec.dsp
87 87 # Begin Group "Source Files" 88 88 89 89 # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" 90 # Begin Group "G722" 91 92 # PROP Default_Filter "" 90 93 # Begin Source File 91 94 95 SOURCE="..\src\pjmedia-codec\g722\g722_dec.c" 96 # End Source File 97 # Begin Source File 98 99 SOURCE="..\src\pjmedia-codec\g722\g722_dec.h" 100 # End Source File 101 # Begin Source File 102 103 SOURCE="..\src\pjmedia-codec\g722\g722_enc.c" 104 # End Source File 105 # Begin Source File 106 107 SOURCE="..\src\pjmedia-codec\g722\g722_enc.h" 108 # End Source File 109 # End Group 110 # Begin Source File 111 92 112 SOURCE="..\src\pjmedia-codec\gsm.c" 93 113 94 114 !IF "$(CFG)" == "pjmedia_codec - Win32 Release" -
pjmedia/build/pjmedia_codec.vcproj
4 4 Version="8.00" 5 5 Name="pjmedia_codec" 6 6 ProjectGUID="{855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}" 7 RootNamespace="pjmedia_codec" 7 8 > 8 9 <Platforms> 9 10 <Platform … … 175 176 Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" 176 177 > 177 178 <File 179 RelativePath="..\src\pjmedia-codec\g722.c" 180 > 181 </File> 182 <File 178 183 RelativePath="..\src\pjmedia-codec\gsm.c" 179 184 > 180 185 <FileConfiguration … … 262 267 /> 263 268 </FileConfiguration> 264 269 </File> 270 <Filter 271 Name="G722" 272 > 273 <File 274 RelativePath="..\src\pjmedia-codec\g722\g722_dec.c" 275 > 276 </File> 277 <File 278 RelativePath="..\src\pjmedia-codec\g722\g722_dec.h" 279 > 280 </File> 281 <File 282 RelativePath="..\src\pjmedia-codec\g722\g722_enc.c" 283 > 284 </File> 285 <File 286 RelativePath="..\src\pjmedia-codec\g722\g722_enc.h" 287 > 288 </File> 289 </Filter> 265 290 </Filter> 266 291 <Filter 267 292 Name="Header Files" … … 272 297 > 273 298 </File> 274 299 <File 300 RelativePath="..\include\pjmedia-codec\g722.h" 301 > 302 </File> 303 <File 275 304 RelativePath="..\include\pjmedia-codec\gsm.h" 276 305 > 277 306 </File>