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/conference.h

    r2460 r2492  
    4343 
    4444PJ_BEGIN_DECL 
     45 
     46/** 
     47 * The conference bridge signature in pjmedia_port_info. 
     48 */ 
     49#define PJMEDIA_CONF_BRIDGE_SIGNATURE   \ 
     50                    PJMEDIA_PORT_SIGNATURE('C', 'O', 'N', 'F') 
     51 
     52/** 
     53 * The audio switchboard signature in pjmedia_port_info. 
     54 */ 
     55#define PJMEDIA_CONF_SWITCH_SIGNATURE   \ 
     56                    PJMEDIA_PORT_SIGNATURE('A', 'S', 'W', 'I') 
    4557 
    4658 
Note: See TracChangeset for help on using the changeset viewer.