Fixed QR code bug

This commit is contained in:
2018-05-11 09:26:18 -04:00
parent c28b794349
commit fe58e2d938
3 changed files with 7 additions and 3 deletions

View File

@@ -471,7 +471,8 @@ Result load_audio(Entry_s entry, audio_s *audio)
}
audio->mix[0] = audio->mix[1] = 1.0f; // Determines volume for the 12 (?) different outputs. See http://smealum.github.io/ctrulib/channel_8h.html#a30eb26f1972cc3ec28370263796c0444
svcCreateEvent(&audio->finished, RESET_STICKY);
ndspChnSetInterp(0, NDSP_INTERP_LINEAR);
ndspChnSetRate(0, 44100);
ndspChnSetFormat(0, NDSP_FORMAT_STEREO_PCM16); // Tremor outputs ogg files in 16 bit PCM stereo