Prosody speech processing: API: sm_record_agc_adjust_settings
Prototype Definition
int sm_record_agc_adjust_settings(struct sm_record_agc_adjust_settings_parms *recadjp)
Parameters
- *recadjp
-
a structure of the following type:
typedef struct sm_record_agc_adjust_settings_parms {
tSMChannelId channel; /* in */
float max_level_decay; /* in */
float target_level; /* in */
} SM_RECORD_AGC_ADJUST_SETTINGS_PARMS;
Description
Fields
- channel
- The channel which is recording.
- max_level_decay
- The rate at which the AGC decays the estimate of the loudest signal,
as a fraction.
- target_level
- The target output level in dBm0.
Returns
0
if call completed successfully, otherwise a standard error such as:
- ERR_SM_DEVERR - device error
- ERR_SM_NO_RECORD_IN_PROGRESS - no recording in progress
This function is part of the Prosody speech processing API.