Changeset 3135 for pjproject/trunk/pjsip-apps/src/symsndtest/app_main.cpp
- Timestamp:
- Apr 7, 2010 1:21:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/symsndtest/app_main.cpp
r3116 r3135 124 124 i, info.name, info.input_count, info.output_count, 125 125 info.default_samples_per_sec)); 126 127 unsigned j; 128 129 /* Print extended formats supported by this audio device */ 130 PJ_LOG(3, (THIS_FILE, " Extended formats supported:")); 131 for (j = 0; j < info.ext_fmt_cnt; ++j) { 132 const char *fmt_name = NULL; 133 134 switch (info.ext_fmt[j].id) { 135 case PJMEDIA_FORMAT_PCMA: 136 fmt_name = "PCMA"; 137 break; 138 case PJMEDIA_FORMAT_PCMU: 139 fmt_name = "PCMU"; 140 break; 141 case PJMEDIA_FORMAT_AMR: 142 fmt_name = "AMR-NB"; 143 break; 144 case PJMEDIA_FORMAT_G729: 145 fmt_name = "G729"; 146 break; 147 case PJMEDIA_FORMAT_ILBC: 148 fmt_name = "ILBC"; 149 break; 150 case PJMEDIA_FORMAT_PCM: 151 fmt_name = "PCM"; 152 break; 153 default: 154 fmt_name = "Unknown"; 155 break; 156 } 157 PJ_LOG(3, (THIS_FILE, " - %s", fmt_name)); 158 } 126 159 } 127 160
Note: See TracChangeset
for help on using the changeset viewer.