Change in libosmocore[master]: gsm0505_amr_dtx: add missing value strings

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Thu Apr 23 09:35:48 UTC 2020


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/17931 )


Change subject: gsm0505_amr_dtx: add missing value strings
......................................................................

gsm0505_amr_dtx: add missing value strings

The value string array that explain the type of the AMR DTX / SID
frames is incomplete, lets add the missing strings.

Change-Id: If9e80b4bd8bdc31323c7c276155b2538e20a99be
Related: OS#2978
---
M src/coding/gsm0503_amr_dtx.c
1 file changed, 5 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/31/17931/1

diff --git a/src/coding/gsm0503_amr_dtx.c b/src/coding/gsm0503_amr_dtx.c
index 724cf09..7069b96 100644
--- a/src/coding/gsm0503_amr_dtx.c
+++ b/src/coding/gsm0503_amr_dtx.c
@@ -45,16 +45,18 @@
 static const ubit_t codec_mode_4_sid[] = { 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1 };
 
 const struct value_string gsm0503_amr_dtx_frame_names[] = {
+	{ AMR_OTHER,		"AMR_OTHER (audio)" },
 	{ AFS_SID_FIRST,	"AFS_SID_FIRST" },
-	{ AFS_SID_UPDATE,	"AFS_SID_UPDATE" },
+	{ AFS_SID_UPDATE,	"AFS_SID_UPDATE (marker)" },
+	{ AFS_SID_UPDATE_CN,	"AFS_SID_UPDATE_CN (audio)" },
 	{ AFS_ONSET,		"AFS_ONSET" },
-	{ AHS_SID_UPDATE,	"AHS_SID_UPDATE" },
+	{ AHS_SID_UPDATE,	"AHS_SID_UPDATE (marker)" },
+	{ AHS_SID_UPDATE_CN,	"AHS_SID_UPDATE_CN (audio)" },
 	{ AHS_SID_FIRST_P1,	"AHS_SID_FIRST_P1" },
 	{ AHS_SID_FIRST_P2,	"AHS_SID_FIRST_P2" },
 	{ AHS_ONSET,		"AHS_ONSET" },
 	{ AHS_SID_FIRST_INH,	"AHS_SID_FIRST_INH" },
 	{ AHS_SID_UPDATE_INH,	"AHS_SID_UPDATE_INH" },
-	{ AMR_OTHER,		"NON DTX FRAME (OTHER)" },
 	{ 0, NULL }
 };
 

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/17931
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: If9e80b4bd8bdc31323c7c276155b2538e20a99be
Gerrit-Change-Number: 17931
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200423/4b8978fa/attachment.htm>


More information about the gerrit-log mailing list