summaryrefslogtreecommitdiffstats
path: root/src/osc.c
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.c
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.c')
-rw-r--r--src/osc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/osc.c b/src/osc.c
index 8ce915c..c3c5d48 100644
--- a/src/osc.c
+++ b/src/osc.c
@@ -77,7 +77,6 @@ osc_load_wav(osc_t * osc, const char * path)
}
osc->len = fileInfo.frames;
- osc->end = fileInfo.frames;
osc->data = (float *) malloc(sizeof(float) * fileInfo.frames);
// Read the WAV file into the buffer