JA_channels is now an Uint8

This commit is contained in:
2021-02-03 19:34:37 +01:00
parent 3cc806bd17
commit b8b2b417a9

View File

@@ -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);