- Timestamp:
- Jun 10, 2008 6:56:10 PM (16 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/config_site_sample.h
r1979 r2004 28 28 # define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_LIBRESAMPLE 29 29 # define PJMEDIA_WSOLA_IMP PJMEDIA_WSOLA_IMP_WSOLA_LITE 30 31 /* Speex default quality settings */ 32 # define PJSUA_DEFAULT_CODEC_QUALITY 5 33 # define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 5 30 34 #endif 31 35 … … 101 105 # define PJSUA_MAX_BUDDIES 32 102 106 107 /* Speex default quality settings */ 108 # define PJSUA_DEFAULT_CODEC_QUALITY 5 109 # define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 5 103 110 #endif 104 111 -
pjproject/trunk/pjmedia/include/pjmedia-codec/config.h
r1965 r2004 60 60 61 61 /** 62 * Speex codec default quality setting. 62 * Speex codec default quality setting. Please note that pjsua-lib may override 63 * this setting via its codec quality setting (i.e PJSUA_DEFAULT_CODEC_QUALITY). 63 64 */ 64 65 #ifndef PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 65 # define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 566 # define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 8 66 67 #endif 67 68 -
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r1990 r2004 3675 3675 */ 3676 3676 #ifndef PJSUA_DEFAULT_CODEC_QUALITY 3677 # define PJSUA_DEFAULT_CODEC_QUALITY 53677 # define PJSUA_DEFAULT_CODEC_QUALITY 8 3678 3678 #endif 3679 3679 -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r1998 r2004 92 92 #if PJMEDIA_HAS_SPEEX_CODEC 93 93 /* Register speex. */ 94 status = pjmedia_codec_speex_init_default(pjsua_var.med_endpt); 94 status = pjmedia_codec_speex_init(pjsua_var.med_endpt, 95 0, 96 pjsua_var.media_cfg.quality, 97 -1); 95 98 if (status != PJ_SUCCESS) { 96 99 pjsua_perror(THIS_FILE, "Error initializing Speex codec",
Note: See TracChangeset
for help on using the changeset viewer.