Browse Source

MT#55283 change amr_cn_dtx option to bool

Change-Id: Ife3d89d8c133b14bf42b6c3468675a6147882681
(cherry picked from commit 7e30f816e4)
mr12.5
Richard Fuchs 10 months ago
parent
commit
1674d7c7cf
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      daemon/main.c
  2. +1
    -1
      include/main.h

+ 1
- 1
daemon/main.c View File

@ -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);
}


+ 1
- 1
include/main.h View File

@ -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