Changeset 2491
- Timestamp:
- Mar 6, 2009 4:24:43 PM (16 years ago)
- Location:
- pjproject/branches/projects/aps-direct
- Files:
-
- 7 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/aps-direct/pjlib/include/pj/compat/os_symbian.h
r2394 r2491 115 115 * Override features. 116 116 */ 117 #define PJ_HAS_FLOATING_POINT 1117 #define PJ_HAS_FLOATING_POINT 0 118 118 #define PJ_HAS_MALLOC 0 119 119 #define PJ_HAS_SEMAPHORE 1 -
pjproject/branches/projects/aps-direct/pjlib/include/pj/config_site_sample.h
r2489 r2491 119 119 */ 120 120 121 /* Disable non-Symbian audio devices */ 122 #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0 123 #define PJMEDIA_AUDIO_DEV_HAS_WMME 0 124 121 125 /* Select codecs to disable */ 122 126 #define PJMEDIA_HAS_L16_CODEC 0 123 127 #define PJMEDIA_HAS_ILBC_CODEC 0 128 #define PJMEDIA_HAS_G722_CODEC 0 124 129 125 130 /* Fine tune Speex's default settings for best performance/quality */ -
pjproject/branches/projects/aps-direct/pjmedia/include/pjmedia-codec/amr_helper.h
r2452 r2491 823 823 out_info->mode = FT_; 824 824 out->size = 5; 825 PJ_ASSERT_RETURN(out->size <= in->size, PJMEDIA_CODEC_EFRMINLEN);826 825 827 826 pj_bzero(out->buf, out->size); -
pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia-audiodev/symb_aps_dev.cpp
r2487 r2491 19 19 */ 20 20 #include <pjmedia-audiodev/audiodev_imp.h> 21 #include <pjmedia-audiodev/errno.h> 21 22 #include <pjmedia/alaw_ulaw.h> 22 #include <pjmedia/errno.h>23 23 #include <pj/assert.h> 24 24 #include <pj/log.h> … … 32 32 #include <sounddevice.h> 33 33 #include <APSClientSession.h> 34 #include <pjmedia-codec/amr_helper.h> 35 36 /* Pack/unpack G.729 frame of S60 DSP codec, taken from: 37 * http://wiki.forum.nokia.com/index.php/TSS000776_-_Payload_conversion_for_G.729_audio_format 38 */ 39 #include "s60_g729_bitstream.h" 40 34 41 35 42 #define THIS_FILE "symb_aps_dev.c" … … 756 763 * Internal APS callbacks 757 764 */ 758 759 /* Pack/unpack G.729 frame of S60 DSP codec, taken from:760 * http://wiki.forum.nokia.com/index.php/TSS000776_-_Payload_conversion_for_G.729_audio_format761 */762 #include "../pjmedia/s60_g729_bitstream.h"763 #include <pjmedia-codec/amr_helper.h>764 765 765 766 static void RecCb(TAPSCommBuffer &buf, void *user_data) -
pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia-audiodev/symb_mda_dev.cpp
r2489 r2491 19 19 */ 20 20 #include <pjmedia-audiodev/audiodev_imp.h> 21 #include <pjmedia-audiodev/errno.h> 21 22 #include <pjmedia/alaw_ulaw.h> 22 23 #include <pj/assert.h> … … 25 26 #include <pj/os.h> 26 27 #include <pj/string.h> 28 29 #if PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA 27 30 28 31 /* … … 1105 1108 } 1106 1109 1110 #endif /* PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA */ -
pjproject/branches/projects/aps-direct/pjsip-apps/src/symbian_ua/main_symbian.cpp
r2394 r2491 30 30 31 31 // Needed by APS 32 TPtrC APP_UID = _L(" A000000D");32 TPtrC APP_UID = _L("200235D3"); 33 33 34 34 -
pjproject/branches/projects/aps-direct/pjsip-apps/src/symbian_ua/ua.cpp
r2483 r2491 24 24 25 25 #define THIS_FILE "symbian_ua.cpp" 26 #define LOG_LEVEL 3 26 #define CON_LOG_LEVEL 3 // console log level 27 #define FILE_LOG_LEVEL 4 // logfile log level 27 28 28 29 // … … 282 283 283 284 /* Set log level */ 284 pj_log_set_level( LOG_LEVEL);285 pj_log_set_level(CON_LOG_LEVEL); 285 286 286 287 /* Create pjsua first! */ … … 330 331 331 332 pjsua_logging_config_default(&log_cfg); 332 log_cfg.level = LOG_LEVEL;333 log_cfg.console_level = LOG_LEVEL;333 log_cfg.level = FILE_LOG_LEVEL; 334 log_cfg.console_level = CON_LOG_LEVEL; 334 335 log_cfg.cb = &log_writer; 335 336 log_cfg.log_filename = pj_str("C:\\data\\symbian_ua.log"); … … 486 487 static void PrintMainMenu() 487 488 { 488 PJ_LOG(3, (THIS_FILE, "\n\n" 489 const char *menu = 490 "\n\n" 489 491 "Main Menu:\n" 490 492 " d Enable/disable codecs\n" … … 500 502 " o Set account online\n" 501 503 " O Set account offline\n" 502 " w Quit\n")); 504 " w Quit\n"; 505 506 PJ_LOG(3, (THIS_FILE, menu)); 503 507 } 504 508 505 509 static void PrintCodecMenu() 506 510 { 507 PJ_LOG(3, (THIS_FILE, "\n\n" 511 const char *menu = 512 "\n\n" 508 513 "Codec Menu:\n" 509 514 " a Enable all codecs\n" … … 520 525 " p Enable only GSM\n" 521 526 " t Enable only PCMU\n" 522 " w Enable only PCMA\n")); 527 " w Enable only PCMA\n"; 528 529 PJ_LOG(3, (THIS_FILE, menu)); 523 530 } 524 531
Note: See TracChangeset
for help on using the changeset viewer.