- Timestamp:
- Mar 4, 2009 7:00:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia-audiodev/audiodev.c
r2476 r2488 26 26 #define THIS_FILE "audiodev.c" 27 27 28 #define DEFINE_CAP(name, info) {name, info} 29 28 30 /* Capability names */ 29 31 static struct cap_info … … 33 35 } cap_infos[] = 34 36 { 35 {"ext-fmt", "Extended/non-PCM format"},36 {"latency-in", "Input latency/buffer size setting"},37 {"latency-out", "Output latency/buffer size setting"},38 {"vol-in", "Input volume setting"},39 {"vol-out", "Output volume setting"},40 {"meter-in", "Input meter"},41 {"meter-out", "Output meter"},42 {"route-in", "Input routing"},43 {"route-out", "Output routing"},44 {"aec", "Accoustic echo cancellation"},45 {"aec-tail", "Tail length setting for AEC"},46 {"vad", "Voice activity detection"},47 {"cng", "Comfort noise generation"},48 {"plg", "Packet loss concealment"}37 DEFINE_CAP("ext-fmt", "Extended/non-PCM format"), 38 DEFINE_CAP("latency-in", "Input latency/buffer size setting"), 39 DEFINE_CAP("latency-out", "Output latency/buffer size setting"), 40 DEFINE_CAP("vol-in", "Input volume setting"), 41 DEFINE_CAP("vol-out", "Output volume setting"), 42 DEFINE_CAP("meter-in", "Input meter"), 43 DEFINE_CAP("meter-out", "Output meter"), 44 DEFINE_CAP("route-in", "Input routing"), 45 DEFINE_CAP("route-out", "Output routing"), 46 DEFINE_CAP("aec", "Accoustic echo cancellation"), 47 DEFINE_CAP("aec-tail", "Tail length setting for AEC"), 48 DEFINE_CAP("vad", "Voice activity detection"), 49 DEFINE_CAP("cng", "Comfort noise generation"), 50 DEFINE_CAP("plg", "Packet loss concealment") 49 51 }; 50 52 … … 228 230 } 229 231 232 /* Register error subsystem */ 233 pj_register_strerror(PJMEDIA_AUDIODEV_ERRNO_START, 234 PJ_ERRNO_SPACE_SIZE, 235 &pjmedia_audiodev_strerror); 236 237 /* Init */ 230 238 aud_subsys.pf = pf; 231 239 aud_subsys.drv_cnt = 0;
Note: See TracChangeset
for help on using the changeset viewer.