annotate pcap/Makefile @ 183:452c1d5a6268

libgsmefr BFI w/o data: emit zero output after decoder reset In real-life usage, each EFR decoder session will most likely begin with lots of BFI frames before the first real frame arrives. However, because the spec-defined home state of the decoder is speech rather than CN, our regular logic for BFI w/o data would have to feed pseudorandom noise to the decoder (in the "fixed codebook excitation pulses" part), which is silly to do at the beginning of the decoder session right out of reset. Therefore, let's check reset_flag_old, and if we are still in the reset state, simply emit zero output.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 03 Jan 2023 00:12:18 +0000
parents 9bd01faadaed
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
851ca64e38e9 rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
851ca64e38e9 rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
175
9bd01faadaed rtp-g711-extr program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 172
diff changeset
3 PROGS= rtp-cont-check rtp-g711-extr rtp-gsmfr-extr rtp-jitter-view
18
39dbaccc349d pcap/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
4 INSTBIN=/opt/freecalypso/bin
15
851ca64e38e9 rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
851ca64e38e9 rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 all: ${PROGS}
851ca64e38e9 rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
170
b9af126bfddb rtp-cont-check utility written
Mychaela Falconia <falcon@freecalypso.org>
parents: 18
diff changeset
8 rtp-cont-check: rtp-cont-check.c
b9af126bfddb rtp-cont-check utility written
Mychaela Falconia <falcon@freecalypso.org>
parents: 18
diff changeset
9 ${CC} ${CFLAGS} -o $@ $@.c -lpcap
b9af126bfddb rtp-cont-check utility written
Mychaela Falconia <falcon@freecalypso.org>
parents: 18
diff changeset
10
175
9bd01faadaed rtp-g711-extr program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 172
diff changeset
11 rtp-g711-extr: rtp-g711-extr.c
9bd01faadaed rtp-g711-extr program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 172
diff changeset
12 ${CC} ${CFLAGS} -o $@ $@.c -lpcap
9bd01faadaed rtp-g711-extr program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 172
diff changeset
13
15
851ca64e38e9 rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 rtp-gsmfr-extr: rtp-gsmfr-extr.c
851ca64e38e9 rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 ${CC} ${CFLAGS} -o $@ $@.c -lpcap
851ca64e38e9 rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
172
693a0958a303 yet another refactoring of RTP tools:
Mychaela Falconia <falcon@freecalypso.org>
parents: 170
diff changeset
17 rtp-jitter-view: rtp-jitter-view.c
693a0958a303 yet another refactoring of RTP tools:
Mychaela Falconia <falcon@freecalypso.org>
parents: 170
diff changeset
18 ${CC} ${CFLAGS} -o $@ $@.c -lpcap
693a0958a303 yet another refactoring of RTP tools:
Mychaela Falconia <falcon@freecalypso.org>
parents: 170
diff changeset
19
18
39dbaccc349d pcap/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
20 install:
39dbaccc349d pcap/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
21 mkdir -p ${INSTBIN}
39dbaccc349d pcap/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
22 install -c ${PROGS} ${INSTBIN}
39dbaccc349d pcap/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
23
15
851ca64e38e9 rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 clean:
851ca64e38e9 rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 rm -f *.o *.out ${PROGS}