Prosody speech processing: API: sm_conf_prim_info

Prototype Definition

int sm_conf_prim_info(struct sm_conf_prim_info_parms *confp)

Parameters

*confp
a structure of the following type:
typedef struct sm_conf_prim_info_parms {
	tSMChannelId channel;					/* in */
	tSM_INT participant_count;				/* out */
	char speakers[8];					/* out */
} SM_CONF_PRIM_INFO_PARMS;

Description

Returns information regarding the conference currently being output on channel channel.

On return, the parameter participant_count is set to the number of input channels being summed together in order to produce the conferenced output, and speakers is a bit mask with bits being set for each participating input channel in the conference which is currently active. Bits set in speakers correspond to the participant ids returned by sm_conf_prim_add(), with bit b of speakers[N] corresponding to participant id B + 8 * N. Note that the speakers field is always zero on Prososdy X.

Fields

channel
The channel on which the conference output has been started on which information is required.
participant_count
The number of active (i.e. non silent) participants in this conference.
speakers
A bitmap of participants, indicating which are active. This functionality is not available on Prososdy X.

Returns

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


This function is part of the Prosody speech processing API.