int sm_conf_prim_start(struct sm_conf_prim_start_parms *confp)
typedef struct sm_conf_prim_start_parms { tSMChannelId channel; /* in */ tSM_INT volume; /* in */ tSM_INT agc; /* in */ enum kSMConfType { kSMConfTypeStandard, kSMConfTypeIndividualVolume, } conf_type; /* in */ } SM_CONF_PRIM_START_PARMS;
Sets up an output channel channel on which will be output the conferenced sum of all participating input channels (each participant is added to the conference through a call to sm_conf_prim_add()). The volume and agc parameters control the output level, and are specified as for sm_replay_start().
The channel and all the participating input channels will all need to be processed by the same module. This can be ensured by using sm_channel_alloc_placed().
This requires the module conf to have been downloaded.
The channel output is reserved for conferencing until sm_conf_prim_abort() or sm_conf_prim_stop() stops the channel output from being used. No other output activity can take place on the channel during this time.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody speech processing API.