aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2023-05-24 01:21:46 +0700
committerlaforge <laforge@osmocom.org>2023-05-23 19:16:39 +0000
commit98431bb3f4d4148d6a4924d687c9bd650fae6909 (patch)
treeb6b1e3b2c582513533d14d0d9d244ce3851cb4d5 /src/coding
parent0e17d5749577eee6664804f459df1e344db42f4f (diff)
coding: fix API doc: TCH/H needs 6 bursts, not 8
Diffstat (limited to 'src/coding')
-rw-r--r--src/coding/gsm0503_coding.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/coding/gsm0503_coding.c b/src/coding/gsm0503_coding.c
index 6f76824a..f27b13da 100644
--- a/src/coding/gsm0503_coding.c
+++ b/src/coding/gsm0503_coding.c
@@ -1976,7 +1976,7 @@ coding_efr_fr:
/*! Perform channel decoding of a HR(v1) channel according TS 05.03
* \param[out] tch_data Codec frame in TS 101 318 canonical format
- * \param[in] bursts buffer containing the symbols of 8 bursts
+ * \param[in] bursts buffer containing the symbols of 6 bursts
* \param[in] odd Odd (1) or even (0) frame number
* \param[out] n_errors Number of detected bit errors
* \param[out] n_bits_total Total number of bits
@@ -2054,7 +2054,7 @@ int gsm0503_tch_hr_decode2(uint8_t *tch_data, const sbit_t *bursts, int odd,
/*! Perform channel decoding of a HR(v1) channel according TS 05.03,
* deprecated legacy API.
* \param[out] tch_data Codec frame in pseudo-RFC5993 format
- * \param[in] bursts buffer containing the symbols of 8 bursts
+ * \param[in] bursts buffer containing the symbols of 6 bursts
* \param[in] odd Odd (1) or even (0) frame number
* \param[out] n_errors Number of detected bit errors
* \param[out] n_bits_total Total number of bits
@@ -2635,7 +2635,7 @@ static uint8_t gsm0503_tch_ahs_decode_inband(const sbit_t *cB)
/*! Perform channel decoding of a TCH/AFS channel according TS 05.03
* \param[out] tch_data Codec frame in RTP payload format
- * \param[in] bursts buffer containing the symbols of 8 bursts
+ * \param[in] bursts buffer containing the symbols of 6 bursts
* \param[in] odd Is this an odd (1) or even (0) frame number?
* \param[in] codec_mode_req is this CMR (1) or CMC (0)
* \param[in] codec array of active codecs (active codec set)
@@ -2658,7 +2658,7 @@ int gsm0503_tch_ahs_decode(uint8_t *tch_data, const sbit_t *bursts, int odd,
/*! Perform channel decoding of a TCH/AFS channel according TS 05.03
* \param[out] tch_data Codec frame in RTP payload format
- * \param[in] bursts buffer containing the symbols of 8 bursts
+ * \param[in] bursts buffer containing the symbols of 6 bursts
* \param[in] odd Is this an odd (1) or even (0) frame number?
* \param[in] codec_mode_req is this CMR (1) or CMC (0)
* \param[in] codec array of active codecs (active codec set)