summaryrefslogtreecommitdiffstats
path: root/src/osc.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2023-12-12 12:07:59 +0200
committergramanas <anastasis.gramm2@gmail.com>2023-12-12 12:07:59 +0200
commit04b3dbe0a339c42d7b2085bcd6149e9277d699a1 (patch)
tree9d350791389d1d36a285e4a9a53e55fc33cdf4eb /src/osc.h
parent89b515395310c4e84a84992d3f0bd11f8ded6d03 (diff)
downloadsynth-project-04b3dbe0a339c42d7b2085bcd6149e9277d699a1.tar.gz
synth-project-04b3dbe0a339c42d7b2085bcd6149e9277d699a1.tar.bz2
synth-project-04b3dbe0a339c42d7b2085bcd6149e9277d699a1.zip
remove redundant osc endHEADmaster
Diffstat (limited to 'src/osc.h')
-rw-r--r--src/osc.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/osc.h b/src/osc.h
index 8b6fdea..9cd0472 100644
--- a/src/osc.h
+++ b/src/osc.h
@@ -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 \