Changeset 2218 for pjproject/trunk/pjmedia/src/pjmedia-codec/ipp_codecs.c
- Timestamp:
- Aug 15, 2008 6:35:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.