comparison pcm-br/globals.h @ 35:499d065ee591

new program itt-pcm-br (PCM bridge)
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 28 Aug 2024 05:00:38 +0000
parents pcm/globals.h@27ca01bb5b11
children
comparison
equal deleted inserted replaced
34:f0b026615f3b 35:499d065ee591
1 /* global vars and intermodule-linkage functions in itt-pcm-br */
2
3 #pragma once
4
5 extern struct osmo_e1dp_client *g_client;
6 extern int tsa_fd, tsb_fd;
7 extern uint8_t readbuf_a[160], readbuf_b[160];
8 extern FILE *rec_file_a, *rec_file_b;
9
10 int tsa_fd_cb(struct osmo_fd *ofd, unsigned int what);
11 int tsb_fd_cb(struct osmo_fd *ofd, unsigned int what);
12
13 void handle_user_cmd(int argc, char **argv);
14 void cmd_record_a_start(int argc, char **argv);
15 void cmd_record_a_stop(int argc, char **argv);
16 void cmd_record_b_start(int argc, char **argv);
17 void cmd_record_b_stop(int argc, char **argv);
18 void cmd_show_a(int argc, char **argv);
19 void cmd_show_b(int argc, char **argv);