From 98431bb3f4d4148d6a4924d687c9bd650fae6909 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Wed, 24 May 2023 01:21:46 +0700 Subject: coding: fix API doc: TCH/H needs 6 bursts, not 8 Change-Id: Iea787ec4c3b15a74f59d45825eae03740c5d28fa --- src/coding/gsm0503_coding.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/coding') 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) -- cgit v1.2.3