#pragma once #include #include struct delay { uint64_t duration; float feedback; float mix; uint64_t buf_idx; float * buf; }; void delay_init( struct delay * delay ); void delay_process( struct delay * delay, size_t frame_size, float const * in, float * out );