Ignore:
Timestamp:
Mar 9, 2009 12:55:29 PM (12 years ago)
Author:
bennylp
Message:

PJMEDIA/PJMEDIA-AUDIODEV update:

  • pjmedia.h: re-added inclusion of <sound.h> since we have compat

layer now

  • audiodev.h:
    • added input_vol and output_vol in pjmedia_aud_param, and

implement it on WMME dev

  • added pjmedia_aud_dev_cap_name() to see cap name
  • added pjmedia_aud_param_set_cap() and pjmedia_aud_param_get_cap() to set and get specific capability in param
  • conference.h: exported PJMEDIA_CONF_BRIDGE_SIGNATURE and

PJMEDIA_CONF_SWITCH_SIGNATURE since these are needed by PJSUA-LIB

  • WMME: bug due to addition of input_vol and output_vol in param:

volumes are set in flags in default_param(), but the
fields are not set. This would cause audio volume to be set to
zero for example.

  • WMME: some refactoring, removed duplicate settings in param
  • WMME: bug: setting set in set_cap() is not saved to param, so

get_param() will return wrong setting

  • APS: update because of s/out_route/output_route/ in param
  • APS: same bug as WMME due to addition of input_vol and output_vol in

param: flags are set in param but the fields are not

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/aps-direct/pjmedia/include/pjmedia.h

    r2473 r2492  
    5353#include <pjmedia/session.h> 
    5454#include <pjmedia/silencedet.h> 
    55 /* This sound API is deprecated. Please see: 
    56 http://trac.pjsip.org/repos/wiki/Audio_Dev_API 
    57 */ 
    58 #if PJMEDIA_AUDIO_API != PJMEDIA_AUDIO_API_NEW_ONLY 
    5955#include <pjmedia/sound.h> 
    60 #endif 
    6156#include <pjmedia/sound_port.h> 
    6257#include <pjmedia/splitcomb.h> 
Note: See TracChangeset for help on using the changeset viewer.