summaryrefslogtreecommitdiff
path: root/genwav.c
diff options
context:
space:
mode:
Diffstat (limited to 'genwav.c')
-rw-r--r--genwav.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/genwav.c b/genwav.c
index c9d030c..d2298fe 100644
--- a/genwav.c
+++ b/genwav.c
@@ -221,6 +221,10 @@ double linear(double x) {
return x;
}
+double zero(double x) {
+ return 0;
+}
+
void put_something(struct wav_header *header, int16_t data[], struct instrument *inst, double frequency, int16_t amp, size_t length, int divisions)
{
size_t pos = 0;