- Timestamp:
- Feb 17, 2009 3:19:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia-codec/passthrough.c
r2456 r2457 156 156 const char *name; /* Codec name. */ 157 157 pj_uint8_t pt; /* Payload type. */ 158 pjmedia_format format; /* Source format. */158 pjmedia_format_id fmt_id; /* Source format. */ 159 159 unsigned clock_rate; /* Codec's clock rate. */ 160 160 unsigned channel_count; /* Codec's channel count. */ … … 173 173 { 174 174 # if PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR 175 {1, "AMR", PJMEDIA_RTP_PT_AMR, {PJMEDIA_FORMAT_AMR},175 {1, "AMR", PJMEDIA_RTP_PT_AMR, PJMEDIA_FORMAT_AMR, 176 176 8000, 1, 160, 177 177 7400, 12200, 2, 1, 1, … … 182 182 183 183 # if PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 184 {1, "G729", PJMEDIA_RTP_PT_G729, {PJMEDIA_FORMAT_G729},184 {1, "G729", PJMEDIA_RTP_PT_G729, PJMEDIA_FORMAT_G729, 185 185 8000, 1, 80, 186 186 8000, 8000, 2, 1, 1 … … 189 189 190 190 # if PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC 191 {1, "iLBC", PJMEDIA_RTP_PT_ILBC, {PJMEDIA_FORMAT_ILBC},191 {1, "iLBC", PJMEDIA_RTP_PT_ILBC, PJMEDIA_FORMAT_ILBC, 192 192 8000, 1, 240, 193 193 13333, 15200, 1, 1, 1, … … 198 198 199 199 # if PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU 200 {1, "PCMU", PJMEDIA_RTP_PT_PCMU, {PJMEDIA_FORMAT_PCMU},200 {1, "PCMU", PJMEDIA_RTP_PT_PCMU, PJMEDIA_FORMAT_PCMU, 201 201 8000, 1, 80, 202 202 64000, 64000, 2, 1, 1 … … 205 205 206 206 # if PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA 207 {1, "PCMA", PJMEDIA_RTP_PT_PCMA, {PJMEDIA_FORMAT_PCMA},207 {1, "PCMA", PJMEDIA_RTP_PT_PCMA, PJMEDIA_FORMAT_PCMA, 208 208 8000, 1, 80, 209 209 64000, 64000, 2, 1, 1 … … 450 450 codec_desc[i].channel_count / 451 451 codec_desc[i].clock_rate); 452 attr->info.f ormat = codec_desc[i].format;452 attr->info.fmt_id = codec_desc[i].fmt_id; 453 453 454 454 /* Default flags. */
Note: See TracChangeset
for help on using the changeset viewer.