aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-04-23 03:34:33 +0300
committerlaforge <laforge@osmocom.org>2022-04-28 13:03:00 +0000
commitf6fd0bb7f24e3e0728020617e1d126c38c3ac8b9 (patch)
treee0fdc2865cd53be78c80708d53fa1b66eaea5b18
parentvty: Add a 'skip-zero' version of 'show stats' and 'show rate-counters' (diff)
downloadlibosmocore-f6fd0bb7f24e3e0728020617e1d126c38c3ac8b9.tar.xz
libosmocore-f6fd0bb7f24e3e0728020617e1d126c38c3ac8b9.zip
coding: fix comments for detect_afs_sid_{first,update,onset}
Change-Id: I42edc3caee09c1a4bebecc41e8be46914dc7f8ef Related: SYS#5853
-rw-r--r--src/coding/gsm0503_amr_dtx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/coding/gsm0503_amr_dtx.c b/src/coding/gsm0503_amr_dtx.c
index 7069b967..b1493300 100644
--- a/src/coding/gsm0503_amr_dtx.c
+++ b/src/coding/gsm0503_amr_dtx.c
@@ -163,19 +163,19 @@ static bool detect_interleaved_ahs_id_marker(int *n_errors, int *n_bits_total, c
return *n_errors < *n_bits_total / 8;
}
-/* Detect a an FR AMR SID_FIRST frame by its identifcation marker */
+/* Detect an FR AMR SID_FIRST frame by its identifcation marker */
static bool detect_afs_sid_first(int *n_errors, int *n_bits_total, const ubit_t * ubits)
{
return detect_afs_id_marker(n_errors, n_bits_total, ubits, 32, 53, id_marker_0, 9);
}
-/* Detect an FR AMR SID_FIRST frame by its identification marker */
+/* Detect an FR AMR SID_UPDATE frame by its identification marker */
static bool detect_afs_sid_update(int *n_errors, int *n_bits_total, const ubit_t * ubits)
{
return detect_afs_id_marker(n_errors, n_bits_total, ubits, 36, 53, id_marker_0, 9);
}
-/* Detect an FR AMR SID_FIRST frame by its repeating coded inband data */
+/* Detect an FR AMR ONSET frame by its repeating coded inband data */
static bool detect_afs_onset(int *n_errors, int *n_bits_total, const ubit_t * ubits)
{
bool rc;