Changeset 303 for pjproject/trunk
- Timestamp:
- Mar 6, 2006 4:24:50 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/speex_codec.c
r291 r303 25 25 #include <speex/speex.h> 26 26 #include <pj/assert.h> 27 #include <pj/log.h> 27 28 #include <pj/pool.h> 28 29 #include <pj/string.h> 29 30 #include <pj/os.h> 30 31 32 #define THIS_FILE "speex_codec.c" 33 31 34 #define DEFAULT_QUALITY 4 32 35 #define DEFAULT_COMPLEXITY -1 33 34 36 35 37 /* Prototypes for Speex factory */ … … 245 247 spx_factory.speex_param[PARAM_UWB].complexity = complexity; 246 248 249 /* Somehow quality <=4 is broken in linux. */ 250 if (quality <= 4) { 251 PJ_LOG(4,(THIS_FILE, "Adjusting quality to 5 for uwb")); 252 spx_factory.speex_param[PARAM_UWB].quality = 5; 253 } 254 247 255 /* Get codec framesize and avg bitrate for each mode. */ 248 256 for (i=0; i<PJ_ARRAY_SIZE(spx_factory.speex_param); ++i) {
Note: See TracChangeset
for help on using the changeset viewer.