Prosody signal path processing: API: sm_path_agc_adjust_settings

Prototype Definition

int sm_path_agc_adjust_settings(struct sm_path_agc_adjust_settings_parms *agcadjp)

Parameters

*agcadjp
a structure of the following type:
typedef struct sm_path_agc_adjust_settings_parms {
	tSMPathId path;						/* in */
	float max_level_decay;					/* in */
	float target_level;					/* in */
} SM_PATH_AGC_ADJUST_SETTINGS_PARMS;

Description

Fields

path
The signal path which has AGC enabled.
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:


This function is part of the Prosody signal path processing API.