Browse Source

Fix error in release build

tags/v1.8.0
Jon Beniston 3 years ago
parent
commit
72ce791a56
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/main.c

+ 1
- 0
src/main.c View File

@@ -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{


Loading…
Cancel
Save