int sm_conf_prim_adj_input(struct sm_conf_prim_adj_input_parms *confp)
typedef struct sm_conf_prim_adj_input_parms { tSMChannelId channel; /* in */ tSM_INT volume; /* in */ tSM_INT agc; /* in */ } SM_CONF_PRIM_ADJ_INPUT_PARMS;
Enable or disable automatic-gain-control/noise-reduction for an input channel which is a conference participant in one or more conference summed output channels.
The
volume
parameter may be set to a the gain (in dB) or to the value
kSMConfAdjInputVolumeMute
which will cause the
input to be completely muted. The range of gain supported is
at least +8 to -22 dB,
The default input conference settings for a channel are 0 dB volume adjustment with AGC disabled.
Note: all input settings are lost when the channel is no longer a conference input unless the channel has been explicitly attached for conferencing by calling sm_conf_prim_attach().
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody speech processing API.