From 0ea48752390228224e7f25575b096efc0aacd70b Mon Sep 17 00:00:00 2001 From: gramanas Date: Thu, 31 Aug 2023 01:06:56 +0300 Subject: Lets work on generators --- src/osc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/osc.c') diff --git a/src/osc.c b/src/osc.c index 295c83d..384f002 100644 --- a/src/osc.c +++ b/src/osc.c @@ -78,7 +78,7 @@ osc_load_wav(osc_t * osc, const char * path) osc->end = fileInfo.frames; osc->data = (float *) malloc(sizeof(float) * fileInfo.frames); - // Read the WAV file into the buffer + // Read the WAV file into the buffer numSamplesRead = sf_readf_float(file, osc->data, fileInfo.frames); /* float max = -1000; */ -- cgit v1.2.3