From 72ce791a56b7515994e1d08cadde46e9fc6104d4 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Thu, 18 Feb 2021 19:54:54 +0000 Subject: [PATCH] Fix error in release build --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index abb0069..56c487b 100644 --- a/src/main.c +++ b/src/main.c @@ -299,6 +299,7 @@ static int initsnd(char *filename) { // Read samples from the audio file int getsamples(void *context, float *samples, int nb) { + (void) context; if(channels == 1){ return (int)sf_read_float(audioFile, samples, nb); }else{