diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2023-12-12 12:07:59 +0200 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2023-12-12 12:07:59 +0200 |
commit | 04b3dbe0a339c42d7b2085bcd6149e9277d699a1 (patch) | |
tree | 9d350791389d1d36a285e4a9a53e55fc33cdf4eb /src/osc.h | |
parent | 89b515395310c4e84a84992d3f0bd11f8ded6d03 (diff) | |
download | synth-project-04b3dbe0a339c42d7b2085bcd6149e9277d699a1.tar.gz synth-project-04b3dbe0a339c42d7b2085bcd6149e9277d699a1.tar.bz2 synth-project-04b3dbe0a339c42d7b2085bcd6149e9277d699a1.zip |
Diffstat (limited to 'src/osc.h')
-rw-r--r-- | src/osc.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -36,7 +36,6 @@ typedef struct osc_t { float * data; long len; long start; - long end; enum osc_type type; const struct osc_ops * ops; } osc_t; @@ -46,7 +45,6 @@ typedef struct osc_t { .data = 0, \ .len = _len, \ .start = 0, \ - .end = _len, \ .type = _type, \ }; @@ -70,8 +68,6 @@ osc_t * make_tri(const char * name); void \ set_##osc##_start(long start); \ void \ - set_##osc##_end(long end); \ - void \ set_##osc##_len(long len); \ float \ get_##osc##_len(); \ @@ -86,9 +82,6 @@ osc_t * make_tri(const char * name); set_##osc##_start(long start) \ { OSC_##osc.start = start; } \ void \ - set_##osc##_end(long end) \ - { OSC_##osc.end = end; } \ - void \ set_##osc##_len(long len) \ { OSC_##osc.len = len; } \ float \ |