From 783b56d54788f177881d68ae2ec7a7cb4bb38ac4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 18 Apr 2004 01:35:53 +0000 Subject: Initial commit git-svn-id: file:///home/lennart/svn/public/vfax/trunk@3 541b366f-4dd8-0310-ae39-b2612fd50714 --- v17mod.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 v17mod.h (limited to 'v17mod.h') diff --git a/v17mod.h b/v17mod.h new file mode 100644 index 0000000..6417ca4 --- /dev/null +++ b/v17mod.h @@ -0,0 +1,22 @@ +#ifndef foov17modhfoo +#define foov17modhfoo + +#include + +struct v17mod_state { + int sample; + int symbol_index; + + int seconds; + + float *xsymbols, *ysymbols; + int i_symbols, n_symbols; +}; + +void v17mod_init(struct v17mod_state *s); +void v17mod_done(struct v17mod_state *s); + +void v17mod_push(struct v17mod_state *s, const uint8_t *p, int l); +int v17mod_pull(struct v17mod_state *s, float *p, int l); + +#endif -- cgit