mirror of
https://github.com/xdsopl/robot36.git
synced 2026-04-21 06:03:41 +00:00
moved delay to own files
This commit is contained in:
parent
27132b6e00
commit
1e7c47c1e2
4 changed files with 44 additions and 31 deletions
14
delay.h
Normal file
14
delay.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
#ifndef DELAY_H
|
||||
#define DELAY_H
|
||||
typedef struct {
|
||||
float *s;
|
||||
int last;
|
||||
int len;
|
||||
} delay_t;
|
||||
|
||||
float do_delay(delay_t *, float);
|
||||
delay_t *alloc_delay(int);
|
||||
void free_delay(delay_t *);
|
||||
#endif
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue