summaryrefslogtreecommitdiff
path: root/multi_modem.h
blob: de3061edf522cb648080f6dff76d84f47e2333f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* multi_modem.h */

#ifndef MULTI_MODEM_H
#define MULTI_MODEM 1

/* Needed for typedef retry_t. */
#include "hdlc_rec2.h"

/* Needed for struct audio_s */
#include "audio.h"


void multi_modem_init (struct audio_s *pmodem); 

void multi_modem_process_sample (int c, int audio_sample);

int multi_modem_get_dc_average (int chan);

// Deprecated.  Replace with ...packet
void multi_modem_process_rec_frame (int chan, int subchan, int slice, unsigned char *fbuf, int flen, alevel_t alevel, retry_t retries, int is_fx25);

void multi_modem_process_rec_packet (int chan, int subchan, int slice, packet_t pp, alevel_t alevel, retry_t retries, int is_fx25);

#endif