blob: 6417ca4fc8427715eca066aac093d733804c1154 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
|