MT#55283 change amr_cn_dtx option to bool

Change-Id: Ife3d89d8c133b14bf42b6c3468675a6147882681
(cherry picked from commit 7e30f816e4)
(cherry picked from commit 1674d7c7cf)
mr12.5.1
Richard Fuchs 9 months ago
parent 76d7555dfe
commit 7800d94f53

@ -974,7 +974,7 @@ static void options(int *argc, char ***argv) {
if (amr_dtx) {
if (!strcasecmp(amr_dtx, "native")) {}
else if (!strcasecmp(amr_dtx, "CN"))
rtpe_config.amr_cn_dtx = 1;
rtpe_config.amr_cn_dtx = true;
else
die("Invalid --amr-dtx ('%s')", amr_dtx);
}

@ -146,7 +146,7 @@ struct rtpengine_config {
int dtx_lag;
int dtx_shift;
str dtx_cn_params;
int amr_cn_dtx;
bool amr_cn_dtx;
double silence_detect_double;
uint32_t silence_detect_int;
str cn_payload;

Loading…
Cancel
Save