mirror of https://github.com/jorio/Pomme.git
Init cmixer with AUDIO_S16SYS
This commit is contained in:
parent
bf2469b659
commit
1ac775071b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue