FreeCalypso > hg > gsm-codec-lib
annotate libtest/Makefile @ 477:4c9222d95647
libtwamr encoder: always emit frame->mode = mode;
In the original implementation of amr_encode_frame(), the 'mode' member
of the output struct was set to 0xFF if the output frame type is TX_NO_DATA.
This design was made to mimic the mode field (16-bit word) being set to
0xFFFF (or -1) in 3GPP test sequence format - but nothing actually depends
on this struct member being set in any way, and amr_frame_to_tseq()
generates the needed 0xFFFF on its own, based on frame->type being equal
to TX_NO_DATA.
It is simpler and more efficient to always set frame->mode to the actual
encoding mode in amr_encode_frame(), and this new behavior has already
been documented in doc/AMR-library-API description in anticipation of
the present change.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 18 May 2024 22:30:42 +0000 |
parents | 19f1aa01ea10 |
children | 4d2cccaeb4a7 |
rev | line source |
---|---|
155
9814041e8096
gsmfr-encode-r utility put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
153
diff
changeset
|
1 OBJS= binreader.o parse_dlcap.o pcmwrite.o roberead.o robewrite.o wavrdhelp.o\ |
153
14b627682458
gsmfr-decode-r utility put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
139
diff
changeset
|
2 wavreader.o wavwriter.o |
8
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 LIB= libtest.a |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
453
19f1aa01ea10
new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents:
155
diff
changeset
|
5 include ../config.defs |
19f1aa01ea10
new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents:
155
diff
changeset
|
6 |
8
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 all: ${LIB} |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ${LIB}: ${OBJS} |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ar rcu $@ ${OBJS} |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 ranlib $@ |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 clean: |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 rm -f *.[oa] errs |