Init cmixer with AUDIO_S16SYS

This commit is contained in:
Iliyas Jorio 2022-09-02 20:48:46 +02:00
parent bf2469b659
commit 1ac775071b
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ void cmixer::InitWithSDL()
// Init SDL audio
SDL_AudioSpec fmt = {};
fmt.freq = 44100;
fmt.format = AUDIO_S16;
fmt.format = AUDIO_S16SYS;
fmt.channels = 2;
fmt.samples = 1024;
fmt.callback = [](void* udata, Uint8* stream, int size)