diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-03-12 18:11:37 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-03-12 18:11:37 +0000 |
commit | 1dacdee696b7591a6dcc0b3c1d0f41573e473168 (patch) | |
tree | 302b09dcd989c0c05cf09f6aebaa63d870b421b9 /pjsip/include/pjsua-lib/pjsua_internal.h | |
parent | ba9d8ca28eb209571c0bd6a080a8bb03d0fa2d33 (diff) |
(Major) Task #737 and #738: integration of APS-Direct and Audiodev from aps-direct branch to trunk.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2506 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua_internal.h')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua_internal.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h index a4af71bc..a144c97d 100644 --- a/pjsip/include/pjsua-lib/pjsua_internal.h +++ b/pjsip/include/pjsua-lib/pjsua_internal.h @@ -272,8 +272,15 @@ struct pjsua_data pjmedia_endpt *med_endpt; /**< Media endpoint. */ pjsua_conf_setting mconf_cfg; /**< Additionan conf. bridge. param */ pjmedia_conf *mconf; /**< Conference bridge. */ - int cap_dev; /**< Capture device ID. */ - int play_dev; /**< Playback device ID. */ + pj_bool_t is_mswitch;/**< Are we using audio switchboard + (a.k.a APS-Direct) */ + + /* Sound device */ + pjmedia_aud_dev_index cap_dev; /**< Capture device ID. */ + pjmedia_aud_dev_index play_dev; /**< Playback device ID. */ + pj_uint32_t aud_svmask;/**< Which settings to save */ + pjmedia_aud_param aud_param; /**< User settings to sound dev */ + pj_bool_t aud_open_cnt;/**< How many # device is opened */ pj_bool_t no_snd; /**< No sound (app will manage it) */ pj_pool_t *snd_pool; /**< Sound's private pool. */ pjmedia_snd_port *snd_port; /**< Sound port. */ |