diff options
| author | Dave Hibberd <d@vehibberd.com> | 2023-09-12 21:38:19 +0100 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2023-09-12 21:38:19 +0100 |
| commit | 51667f3056f13acc54229843121ac37093e5c4fa (patch) | |
| tree | f307ba57caaddce0bfce270fcd5f54865881bc2c /multi_modem.h | |
| parent | cc152664115edea852d18f9a1505db6914dce569 (diff) | |
| parent | 3cdcbeea3e2891f4a10c79b272da144f37ff24f3 (diff) | |
Update upstream source from tag 'upstream/0.67'
Update to upstream version '0.67'
with Debian dir d407fa05796b5e411553bba52531842bd913bb88
Diffstat (limited to 'multi_modem.h')
| -rw-r--r-- | multi_modem.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/multi_modem.h b/multi_modem.h new file mode 100644 index 0000000..de3061e --- /dev/null +++ b/multi_modem.h @@ -0,0 +1,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 |
