int sm_path_mix(struct sm_path_mix_parms *mixp)
typedef struct sm_path_mix_parms { tSMPathId path; /* in */ tSM_INT enable; /* in */ tSMDatafeedId mixin; /* in */ tSM_INT volume; /* in */ } SM_PATH_MIX_PARMS;
Configures signal mixing on a signal path. The specified signal is added into the signal being processed by this path, and the result is adjusted according to the volume parameter, which has a range of at least -24 to +8 dB. Typically, the signal is adjusted by -6 dB to prevent the sum of the two signals being louder than each original signal.
Requires the module gainbg.
0 if call completed successfully, otherwise a standard error.
This function is part of the Prosody signal path processing API.