mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 03:23:54 +01:00
clean up ssb stuff a little
This commit is contained in:
12
dsp/delay.h
Normal file
12
dsp/delay.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <string.h>
|
||||
|
||||
typedef struct delay_line_t {
|
||||
float *buffer;
|
||||
uint32_t delay;
|
||||
uint32_t idx;
|
||||
} delay_line_t;
|
||||
|
||||
void init_delay_line(delay_line_t *delay_line, uint32_t sample_rate);
|
||||
void set_delay_line(delay_line_t *delay_line, uint32_t new_delay);
|
||||
float delay_line(delay_line_t *delay_line, float in);
|
||||
void exit_delay_line(delay_line_t *delay_line);
|
||||
Reference in New Issue
Block a user