Prosody speech processing: API: sm_conf_prim_detach
Prototype Definition
int sm_conf_prim_detach(struct sm_conf_prim_detach_parms *confp)
Parameters
- *confp
-
a structure of the following type:
typedef struct sm_conf_prim_detach_parms {
tSMChannelId channel; /* in */
enum kSMConfType conf_type; /* in */
} SM_CONF_PRIM_DETACH_PARMS;
Description
Detaches the channel input from conferencing. The channel must have
previously been attached with
sm_conf_prim_attach()
and not be a participant in any conference.
Fields
- channel
- The channel to be detached.
- conf_type
- The type of conferencing to detach.
One of these values:
- kSMConfTypeStandard
- Standard conferencing.
- kSMConfTypeIndividualVolume
-
Obsolete mode that permited individual adjustment of the volume
of each participant's contribution to each output.
Returns
0
if call completed successfully, otherwise a standard error such as:
- ERR_SM_DEVERR - device error
- ERR_SM_WRONG_CHANNEL_STATE - if not attached or in a conference
This function is part of the Prosody speech processing API.