- Timestamp:
- Feb 16, 2009 4:29:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia-codec/passthrough.c
r2452 r2456 156 156 const char *name; /* Codec name. */ 157 157 pj_uint8_t pt; /* Payload type. */ 158 pjmedia_fo urccformat; /* Source format. */158 pjmedia_format format; /* 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_FO URCC_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_FO URCC_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_FO URCC_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_FO URCC_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_FO URCC_PCMA},207 {1, "PCMA", PJMEDIA_RTP_PT_PCMA, {PJMEDIA_FORMAT_PCMA}, 208 208 8000, 1, 80, 209 209 64000, 64000, 2, 1, 1
Note: See TracChangeset
for help on using the changeset viewer.