Prosody speech processing: API: sm_conf_prim_clone

Prototype Definition

int sm_conf_prim_clone(struct sm_conf_prim_clone_parms *clonep)

Parameters

*clonep
a structure of the following type:
typedef struct sm_conf_prim_clone_parms {
	tSMChannelId channel;					/* in */
	tSMChannelId model;					/* in */
} SM_CONF_PRIM_CLONE_PARMS;

Description

Sets up an output channel channel on which will be output the same conferenced sum as currently being output on channel model. Each current participant of model is added to the set of participants for channel, and the output volume and AGC values are copied across.

The conferences on channel and model will be completely independent of each other, for instance if a new participant is added at a later stage to model, it will not be automatically added to channel.

Both channel and model will need to be on the same module.

If model is set to kSMNullChannelId, this call is equivalent to sm_conf_prim_start() with zero volume and agc parameters.

Fields

channel
The channel on which a conference output is to be started.
model
The channel on which a conference output has already been started and which is to serve as a model.

Returns

0 if call completed successfully, otherwise a standard error such as:


This function is part of the Prosody speech processing API.