view libgsmhr1/bitter-voiced @ 561:cf62fe9fac3a

gsmhr-cod2hex: read native endian by default Let's change gsmhr-* utilities to read *.cod and *.dec files in the local machine's native byte order by default, and support both -b and -l override options. This approach is the only sane one when we write *.cod and *.dec files in the local endian.
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Feb 2025 00:04:33 +0000
parents 4d80730683d4
children
line wrap: on
line source

; This file is an input to the old 'bitter' utility from libgsm source
; package; it will be used to generate C code for TS 101 318 packing and
; unpacking.  This version is for voiced modes.

params[0]	5	; R0
params[1]	11	; LPC1
params[2]	9	; LPC2
params[3]	8	; LPC3
params[4]	1	; INT LPC
params[5]	2	; Mode

; subframe 1
params[6]	8
params[7]	9
params[8]	5

; subframe 2
params[9]	4
params[10]	9
params[11]	5

; subframe 3
params[12]	4
params[13]	9
params[14]	5

; subframe 4
params[15]	4
params[16]	9
params[17]	5