From b8b2b417a9911254202a5b812205341fed8ea73d Mon Sep 17 00:00:00 2001 From: JailDoctor Date: Wed, 3 Feb 2021 19:34:37 +0100 Subject: [PATCH] JA_channels is now an Uint8 --- jail_audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jail_audio.cpp b/jail_audio.cpp index 87ef6d5..e551bde 100644 --- a/jail_audio.cpp +++ b/jail_audio.cpp @@ -35,7 +35,7 @@ JA_Sound_Playing_t *free_sounds_list {NULL}; int JA_freq {48000}; SDL_AudioFormat JA_format {AUDIO_S16}; -int JA_channels {2}; +Uint8 JA_channels {2}; void audioCallback(void * userdata, uint8_t * stream, int len) { SDL_memset(stream, 0, len);