FreeCalypso > hg > ice1-trau-tester
annotate pcm-br/globals.h @ 52:626180a15857 default tip
ater play-d144: emit E-data frames manually,
osmo_trau_frame_encode() is currently broken for this frame type
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 25 Sep 2024 06:40:43 +0000 |
parents | 499d065ee591 |
children |
rev | line source |
---|---|
35
499d065ee591
new program itt-pcm-br (PCM bridge)
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
1 /* global vars and intermodule-linkage functions in itt-pcm-br */ |
2
c03ec046471f
pcm: initial version compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
c03ec046471f
pcm: initial version compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 #pragma once |
c03ec046471f
pcm: initial version compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
c03ec046471f
pcm: initial version compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 extern struct osmo_e1dp_client *g_client; |
35
499d065ee591
new program itt-pcm-br (PCM bridge)
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
6 extern int tsa_fd, tsb_fd; |
499d065ee591
new program itt-pcm-br (PCM bridge)
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
7 extern uint8_t readbuf_a[160], readbuf_b[160]; |
499d065ee591
new program itt-pcm-br (PCM bridge)
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
8 extern FILE *rec_file_a, *rec_file_b; |
2
c03ec046471f
pcm: initial version compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
35
499d065ee591
new program itt-pcm-br (PCM bridge)
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
10 int tsa_fd_cb(struct osmo_fd *ofd, unsigned int what); |
499d065ee591
new program itt-pcm-br (PCM bridge)
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
11 int tsb_fd_cb(struct osmo_fd *ofd, unsigned int what); |
7
ca351324187a
pcm: implement Tx on the E1 timeslot
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
12 |
5
7233c10af3ad
pcm: hook in stdin select mechanism
Mychaela Falconia <falcon@freecalypso.org>
parents:
2
diff
changeset
|
13 void handle_user_cmd(int argc, char **argv); |
35
499d065ee591
new program itt-pcm-br (PCM bridge)
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
14 void cmd_record_a_start(int argc, char **argv); |
499d065ee591
new program itt-pcm-br (PCM bridge)
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
15 void cmd_record_a_stop(int argc, char **argv); |
499d065ee591
new program itt-pcm-br (PCM bridge)
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
16 void cmd_record_b_start(int argc, char **argv); |
499d065ee591
new program itt-pcm-br (PCM bridge)
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
17 void cmd_record_b_stop(int argc, char **argv); |
499d065ee591
new program itt-pcm-br (PCM bridge)
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
18 void cmd_show_a(int argc, char **argv); |
499d065ee591
new program itt-pcm-br (PCM bridge)
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
19 void cmd_show_b(int argc, char **argv); |