summaryrefslogtreecommitdiffstats
path: root/v17mod.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-04-18 01:35:53 +0000
committerLennart Poettering <lennart@poettering.net>2004-04-18 01:35:53 +0000
commit783b56d54788f177881d68ae2ec7a7cb4bb38ac4 (patch)
tree77555207fa13c137e0c8dab8726f2ed96538e075 /v17mod.h
parentf069d236c79a7cb89542eba5ddc454d03ead5394 (diff)
Initial commit
git-svn-id: file:///home/lennart/svn/public/vfax/trunk@3 541b366f-4dd8-0310-ae39-b2612fd50714
Diffstat (limited to 'v17mod.h')
-rw-r--r--v17mod.h22
1 files changed, 22 insertions, 0 deletions
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 <inttypes.h>
+
+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