view pcm/globals.h @ 34:f0b026615f3b

abis: forgot to clear tf.dl_ta_usec
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 13 Aug 2024 23:07:24 +0000
parents 27ca01bb5b11
children
line wrap: on
line source

/* global vars and intermodule-linkage functions in itt-pcm-one */

#pragma once

extern struct osmo_e1dp_client *g_client;
extern int ts_fd;
extern uint8_t readbuf[160];
extern FILE *record_file;

int ts_fd_cb(struct osmo_fd *ofd, unsigned int what);
void transmit_pcm_20ms(void);

void handle_user_cmd(int argc, char **argv);
void cmd_record_start(int argc, char **argv);
void cmd_record_stop(int argc, char **argv);
void cmd_print_rx(int argc, char **argv);
void cmd_pcm_fill(int argc, char **argv);
void cmd_dmw_on(int argc, char **argv);
void cmd_dmw_off(int argc, char **argv);
void cmd_play_file(int argc, char **argv);
void cmd_play_offset(int argc, char **argv);
void cmd_play_stop(int argc, char **argv);