view pcm/globals.h @ 8:70aa8cbdbde9

pcm: implement pcm-fill command
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Jun 2024 19:30:40 +0000
parents ca351324187a
children e3d16d490ce2
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);