From 9a8feb8abd84366ca009c56ae3aa67a62e03dee7 Mon Sep 17 00:00:00 2001 From: Nan Xiao Date: Tue, 19 Oct 2021 14:46:38 +0800 Subject: [PATCH] EVS: Fix CNG schema for SID payload In 3GPP 26.449 Codec for Enhanced Voice Services (EVS); Comfort Noise Generation (CNG) aspects, Computational details and bit allocation: For the EVS primary modes, the SID payload consists of 48 bits. The first bit of the payload determines the CNG scheme, where 0 stands for the LP-CNG and 1 for the FD-CNG. --- epan/dissectors/packet-evs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epan/dissectors/packet-evs.c b/epan/dissectors/packet-evs.c index 138a574df5..77751888f3 100644 --- a/epan/dissectors/packet-evs.c +++ b/epan/dissectors/packet-evs.c @@ -338,8 +338,8 @@ static const value_string evs_tcx_or_hq_mdct_core_values[] = { }; static const value_string evs_sid_cng_values[] = { - { 0x0, "FD-CNG" }, - { 0x1, "LP-CNG SID" }, + { 0x0, "LP-CNG SID" }, + { 0x1, "FD-CNG" }, { 0, NULL } };