Changes between Version 12 and Version 13 of APS
- Timestamp:
- May 13, 2009 3:38:17 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
APS
v12 v13 30 30 == Building Steps == 31 31 Here are a few steps to build PJSIP with APS support: 32 1. Specify that sound device implementation is using APS, i.e in config_site.h:32 1. 1.0.x: Specify that sound device implementation is using APS, i.e in config_site.h: 33 33 {{{ 34 34 #if defined(PJ_SYMBIAN) || PJ_SYMBIAN==1 … … 36 36 #endif 37 37 }}} 38 '''Update''': for trunk version (with the '''new audio device API'''),macro PJMEDIA_SOUND_IMPLEMENTATION is deprecated, so it should be defined as:38 1.1 and above: macro PJMEDIA_SOUND_IMPLEMENTATION is deprecated, so it should be defined as: 39 39 {{{ 40 40 #if defined(PJ_SYMBIAN) || PJ_SYMBIAN==1 … … 42 42 #endif 43 43 }}} 44 1. Edit {{{bld.inf}}} and application's .mmp files (e.g: {{{symbian_ua.mmp}}}, {{{symbian_ua_gui.mmp}}}, {{{symsndtest.mmp}}}), and activate {{{SND_USE_APS}}} macro:44 1. 1.0.x: Edit {{{bld.inf}}} and application's .mmp files (e.g: {{{symbian_ua.mmp}}}, {{{symbian_ua_gui.mmp}}}, {{{symsndtest.mmp}}}), and activate {{{SND_USE_APS}}} macro: 45 45 {{{ 46 46 #define SND_USE_NULL 0 … … 48 48 #define SND_USE_VAS 0 49 49 }}} 50 '''Update''': for trunk version,{{{bld.inf}}} doesn't need to be edited, and the macro should be defined is {{{SND_HAS_APS}}}:50 1.1 and above: {{{bld.inf}}} doesn't need to be edited, and the macro should be defined is {{{SND_HAS_APS}}}: 51 51 {{{ 52 52 #define SND_HAS_APS 1 53 53 }}} 54 54 1. Refresh the makefiles: 55 -If you are using Carbide, please refresh the project first (right click '''bld.inf''' from the '''Symbian Project Navigator''' pane, and select '''Refresh'''). '''symbian_audio_aps.mmp''' should be there after the refresh done.56 -If you are building from command line, use '''bldmake clean''' then '''bldmake bldfiles'''.57 '''Update''': for trunk version,{{{symbian_audio_aps.mmp}}} is no longer used, all symbian audio implementations are bundled in {{{pjmedia_audiodev.mmp}}}.55 * 1.0.x: If you are using Carbide, please refresh the project first (right click '''bld.inf''' from the '''Symbian Project Navigator''' pane, and select '''Refresh'''). '''symbian_audio_aps.mmp''' should be there after the refresh done. 56 * If you are building from command line, use '''bldmake clean''' then '''bldmake bldfiles'''. 57 * 1.1 and above: {{{symbian_audio_aps.mmp}}} is no longer used, all symbian audio implementations are bundled in {{{pjmedia_audiodev.mmp}}}. 58 58 4. Clean and rebuild the whole project. Please note that WINSCW target doesn't seem to support APS. 59 59 5. Make the installer (.sis file) for the application. … … 82 82 There are some notes for developing application with APS support: 83 83 - There seems binary compatibility issue among Symbian OS versions, you will have to use appropriate '''SDK API Plug-in''' and '''apsserver2.sisx''' for each OS version. 84 - Currently, frame time/PTIME supported by sound device with APS is only 20ms. For example if your application is using pjsua, you will need to specify this in pjsua config: 85 {{{ 86 med_cfg.audio_frame_ptime = 20; 87 }}} 88 ('''Update:''' this currently is being resolved by ticket #680) 84 89 85 90 86 == Limitations == 91 - As mentioned before, sound device will only support 20ms frame time ('''Update:''' this currently is being resolved by ticket #680).92 87 - Currently, this APS wrapper can only work in S60 3rd edition device that supports G.711, which perhaps means all S60 3rd edition devices. 93 88