Ignore:
Timestamp:
Sep 9, 2011 9:51:10 AM (10 years ago)
Author:
nanang
Message:

More Symbian MDA fixes (re #1365):

  • Added config setting to control sync/async start. Due to problem with async start: any volume query performed immediately after starting the device will always return zero.
  • Fixed get_default_param() to set the flags to zero (was copied from caps, i.e: input/output volume flags without setting the value).
  • Fixed stream_get_param() to also check the input and output volume level.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjmedia/include/pjmedia-audiodev/config.h

    r3553 r3748  
    146146 
    147147/** 
     148 * This setting controls whether the Symbian audio with built-in multimedia 
     149 * framework backend should be started synchronously. Note that synchronous 
     150 * start will block the application/UI, e.g: about 40ms for each direction 
     151 * on N95. While asynchronous start may cause invalid value (always zero) 
     152 * returned in input/output volume query, if the query is performed when 
     153 * the internal start procedure is not completely finished. 
     154 *  
     155 * Default: 1 (yes) 
     156 */ 
     157#ifndef PJMEDIA_AUDIO_DEV_MDA_USE_SYNC_START 
     158#   define PJMEDIA_AUDIO_DEV_MDA_USE_SYNC_START 1 
     159#endif 
     160 
     161 
     162/** 
    148163 * This setting controls whether the Audio Device API should support 
    149164 * device implementation that is based on the old sound device API 
Note: See TracChangeset for help on using the changeset viewer.