Replaced AUDIO_S16 witht AUDIO_S16SYS.

This commit is contained in:
Layla Marchant 2020-08-04 12:23:54 -04:00
parent 9237af3283
commit b547ec5989
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ void engine_setMode()
#ifndef NOSOUND
if (engine.useAudio)
{
if (Mix_OpenAudio(44100, AUDIO_S16, 2, 1024) < 0)
if (Mix_OpenAudio(44100, AUDIO_S16SYS, 2, 1024) < 0)
{
printf("Warning: Couldn't set 44100 Hz 16-bit stereo audio - Reason:\n%s\n", Mix_GetError());
printf("Sound and Music will be disabled\n");