Changeset 497
- Timestamp:
- Jun 11, 2006 11:19:43 PM (18 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/compat/os_linux_kernel.h
r433 r497 78 78 #define PJ_SELECT_NEEDS_NFDS 0 79 79 80 /* Is errno a good way to retrieve OS errors? 81 * (probably no for linux kernel) 82 * If you answer no here, you'll need to tell pjlib how to get OS 83 * error (a compile error will tell you exactly where) 84 */ 85 #define PJ_HAS_ERRNO_VAR 0 86 80 87 /* This value specifies the value set in errno by the OS when a non-blocking 81 88 * socket recv() can not return immediate daata. … … 115 122 #ifndef PJ_OS_HAS_CHECK_STACK 116 123 # define PJ_OS_HAS_CHECK_STACK 0 124 #endif 117 125 #define PJ_TERM_HAS_COLOR 0 118 126 #define PJ_NATIVE_STRING_IS_UNICODE 0 -
pjproject/trunk/pjmedia/include/pjmedia/codec.h
r438 r497 427 427 * of previously highest priority codec to NEXT_HIGHER. 428 428 */ 429 PJMEDIA_CODEC_PRIO_HIGHEST = 16,429 PJMEDIA_CODEC_PRIO_HIGHEST = 255, 430 430 431 431 /** … … 433 433 * codecs with this same priority. 434 434 */ 435 PJMEDIA_CODEC_PRIO_NEXT_HIGHER = 12,435 PJMEDIA_CODEC_PRIO_NEXT_HIGHER = 254, 436 436 437 437 /** … … 439 439 * codec manager by codec factory. 440 440 */ 441 PJMEDIA_CODEC_PRIO_NORMAL = 8,441 PJMEDIA_CODEC_PRIO_NORMAL = 128, 442 442 443 443 /** … … 446 446 * in the last place in the order. 447 447 */ 448 PJMEDIA_CODEC_PRIO_LOWEST = 4,448 PJMEDIA_CODEC_PRIO_LOWEST = 1, 449 449 450 450 /** … … 638 638 * @param codec_id The full codec ID or codec ID prefix. If an empty 639 639 * string is given, it will match all codecs. 640 * @param prio Priority to be set. 640 * @param prio Priority to be set. The priority can have any value 641 * between 1 to 255. When the priority is set to zero, 642 * the codec will be disabled. 641 643 * 642 644 * @return PJ_SUCCESS if at least one codec info is found. … … 645 647 pjmedia_codec_mgr_set_codec_priority(pjmedia_codec_mgr *mgr, 646 648 const pj_str_t *codec_id, 647 pj media_codec_priorityprio);649 pj_uint8_t prio); 648 650 649 651 -
pjproject/trunk/pjmedia/src/pjmedia/codec.c
r411 r497 310 310 pjmedia_codec_mgr_set_codec_priority(pjmedia_codec_mgr *mgr, 311 311 const pj_str_t *codec_id, 312 pj media_codec_priorityprio)312 pj_uint8_t prio) 313 313 { 314 314 unsigned i, found = 0;
Note: See TracChangeset
for help on using the changeset viewer.