Compiles and working

This commit is contained in:
2023-04-19 20:16:35 +00:00
parent 86211aecb8
commit 879ab0fc05
12 changed files with 147 additions and 191 deletions

View File

@@ -121,7 +121,7 @@ struct wav *make_sound(const char *wav)
if (index != -1) return wavhash[index].value;
struct wav mwav;
mwav.data = drwav_open_file_and_read_pcm_frames_s16(wav, &mwav.ch, &mwav.samplerate, &mwav.frames, NULL);
// mwav.data = drwav_open_file_and_read_pcm_frames_s16(wav, &mwav.ch, &mwav.samplerate, &mwav.frames, NULL);
if (mwav.samplerate != SAMPLERATE) {
YughInfo("Changing samplerate of %s from %d to %d.", wav, mwav.samplerate, SAMPLERATE);