FreeCalypso > hg > gsm-codec-lib
changeset 575:5452d6cd64b1
gsmhr-cod-craft: use gsmhr_set_sid_cw_params() function
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 13 Feb 2025 00:46:06 +0000 |
parents | 993cb9273f89 |
children | 94f0cc85ad50 |
files | hrutil/cod-craft.c |
diffstat | 1 files changed, 1 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/hrutil/cod-craft.c Thu Feb 13 00:41:21 2025 +0000 +++ b/hrutil/cod-craft.c Thu Feb 13 00:46:06 2025 +0000 @@ -39,25 +39,7 @@ static void set_sid_cw() { - /* Int_LPC and Mode */ - enc_frame[4] = 1; - enc_frame[5] = 3; - /* subframe 1 */ - enc_frame[6] = 0xFF; - enc_frame[7] = 0x1FF; - enc_frame[8] = 0x1F; - /* subframe 2 */ - enc_frame[9] = 0xF; - enc_frame[10] = 0x1FF; - enc_frame[11] = 0x1F; - /* subframe 3 */ - enc_frame[12] = 0xF; - enc_frame[13] = 0x1FF; - enc_frame[14] = 0x1F; - /* subframe 4 */ - enc_frame[15] = 0xF; - enc_frame[16] = 0x1FF; - enc_frame[17] = 0x1F; + gsmhr_set_sid_cw_params(enc_frame); } static int