Changes between Version 12 and Version 13 of APS


Ignore:
Timestamp:
May 13, 2009 3:38:17 PM (11 years ago)
Author:
ismangil
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • APS

    v12 v13  
    3030== Building Steps == 
    3131Here 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: 
    3333 {{{ 
    3434#if defined(PJ_SYMBIAN) || PJ_SYMBIAN==1 
     
    3636#endif 
    3737 }}} 
    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: 
    3939 {{{ 
    4040#if defined(PJ_SYMBIAN) || PJ_SYMBIAN==1 
     
    4242#endif 
    4343 }}} 
    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: 
    4545 {{{ 
    4646#define SND_USE_NULL    0 
     
    4848#define SND_USE_VAS     0 
    4949 }}} 
    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}}}: 
    5151 {{{ 
    5252#define SND_HAS_APS     1 
    5353 }}} 
    5454 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}}}. 
    5858 4. Clean and rebuild the whole project. Please note that WINSCW target doesn't seem to support APS. 
    5959 5. Make the installer (.sis file) for the application. 
     
    8282There are some notes for developing application with APS support: 
    8383 - 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  
    8985 
    9086== Limitations == 
    91  - As mentioned before, sound device will only support 20ms frame time ('''Update:''' this currently is being resolved by ticket #680). 
    9287 - Currently, this APS wrapper can only work in S60 3rd edition device that supports G.711, which perhaps means all S60 3rd edition devices. 
    9388