Changeset 2218
- Timestamp:
- Aug 15, 2008 6:35:50 PM (16 years ago)
- Location:
- pjproject/trunk/pjmedia
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia-codec/types.h
r2216 r2218 60 60 PJMEDIA_RTP_PT_G726_16, /**< G726 @ 16Kbps */ 61 61 PJMEDIA_RTP_PT_G726_24, /**< G726 @ 24Kbps */ 62 PJMEDIA_RTP_PT_G726_32, /**< G726 @ 32Kbps*/62 /* PJMEDIA_RTP_PT_G726_32,*/ /**< G726 @ 32Kbps, static? */ 63 63 PJMEDIA_RTP_PT_G726_40, /**< G726 @ 40Kbps */ 64 PJMEDIA_RTP_PT_G722_1_16, /**< G722.1 (16Kbps) */ 65 PJMEDIA_RTP_PT_G722_1_24, /**< G722.1 (24Kbps) */ 66 PJMEDIA_RTP_PT_G722_1_32, /**< G722.1 (32Kbps) */ 64 PJMEDIA_RTP_PT_G722_1, /**< G722.1 (16-32Kbps) */ 67 65 }; 68 66 -
pjproject/trunk/pjmedia/include/pjmedia/codec.h
r2039 r2218 195 195 { 196 196 PJMEDIA_RTP_PT_PCMU = 0, /**< audio PCMU */ 197 PJMEDIA_RTP_PT_G726_32 = 2, /**< audio G726-32 */ 197 198 PJMEDIA_RTP_PT_GSM = 3, /**< audio GSM */ 198 199 PJMEDIA_RTP_PT_G723 = 4, /**< audio G723 */ -
pjproject/trunk/pjmedia/src/pjmedia-codec/ipp_codecs.c
r2216 r2218 231 231 232 232 # if defined(PJMEDIA_HAS_INTEL_IPP_CODEC_G726) && PJMEDIA_HAS_INTEL_IPP_CODEC_G726 != 0 233 { 1, "G726-16", PJMEDIA_RTP_PT_G726_16, &USC_G726_Fxns, 8000, 1, 80,233 {0, "G726-16", PJMEDIA_RTP_PT_G726_16, &USC_G726_Fxns, 8000, 1, 80, 234 234 16000, 16000, 2, 0, 0, 235 235 NULL, NULL, NULL 236 236 }, 237 { 1, "G726-24", PJMEDIA_RTP_PT_G726_24, &USC_G726_Fxns, 8000, 1, 80,237 {0, "G726-24", PJMEDIA_RTP_PT_G726_24, &USC_G726_Fxns, 8000, 1, 80, 238 238 24000, 24000, 2, 0, 0, 239 239 NULL, NULL, NULL … … 243 243 NULL, NULL, NULL 244 244 }, 245 { 1, "G726-40", PJMEDIA_RTP_PT_G726_40, &USC_G726_Fxns, 8000, 1, 80,245 {0, "G726-40", PJMEDIA_RTP_PT_G726_40, &USC_G726_Fxns, 8000, 1, 80, 246 246 40000, 40000, 2, 0, 0, 247 247 NULL, NULL, NULL … … 257 257 258 258 # if defined(PJMEDIA_HAS_INTEL_IPP_CODEC_G722_1) && PJMEDIA_HAS_INTEL_IPP_CODEC_G722_1 != 0 259 {1, "G722.1-16",PJMEDIA_RTP_PT_G722_1_16, &USC_G722_Fxns, 16000, 1, 320, 260 16000, 16000, 1, 0, 1, 261 NULL, NULL, NULL 262 }, 263 {0, "G722.1-24",PJMEDIA_RTP_PT_G722_1_24, &USC_G722_Fxns, 16000, 1, 320, 264 24000, 24000, 1, 0, 1, 265 NULL, NULL, NULL 266 }, 267 {0, "G722.1-32",PJMEDIA_RTP_PT_G722_1_32, &USC_G722_Fxns, 16000, 1, 320, 268 32000, 32000, 1, 0, 0, 259 {0, "G7221", PJMEDIA_RTP_PT_G722_1, &USC_G722_Fxns, 16000, 1, 320, 260 24000, 32000, 1, 0, 1, 269 261 NULL, NULL, NULL 270 262 }, … … 619 611 /* Setting the encoder params */ 620 612 codec_data->info->params.direction = USC_ENCODE; 621 codec_data->info->params.modes.vad = attr->setting.vad; 613 codec_data->info->params.modes.vad = attr->setting.vad && 614 ipp_codec[codec_data->codec_idx].has_native_vad; 622 615 codec_data->info->params.modes.bitrate = attr->info.avg_bps; 623 616 codec_data->info->params.law = 0; /* Linear PCM input */
Note: See TracChangeset
for help on using the changeset viewer.