Prosody speech processing: API: sm_conf_prim_adj_output
Prototype Definition
int sm_conf_prim_adj_output(struct sm_conf_prim_adj_output_parms *confp)
Parameters
- *confp
-
a structure of the following type:
typedef struct sm_conf_prim_adj_output_parms {
tSMChannelId channel; /* in */
tSM_INT volume; /* in */
tSM_INT agc; /* in */
} SM_CONF_PRIM_ADJ_OUTPUT_PARMS;
Description
Adjust output level for conference being output on channel
channel.
The volume and agc parameters should be set as for
sm_conf_prim_start().
Fields
- channel
- The channel on which the conference output has been started
which is to be adjusted.
- volume
- The new value for the volume (in dB).
- agc
- The new value for the indicator of whether automatic gain
control is to be enabled.
Returns
0
if call completed successfully, otherwise a standard error such as:
- ERR_SM_DEVERR - device error
- ERR_SM_BAD_PARAMETER - illegal volume or agc value
- ERR_SM_WRONG_CHANNEL_STATE - if no conference started on channel
This function is part of the Prosody speech processing API.