summaryrefslogtreecommitdiffstats
path: root/src/osc.h
diff options
context:
space:
mode:
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 \