SDL3: changed macro name

This commit is contained in:
Christian Semmler 2024-06-16 09:21:57 -04:00
parent d51216b72f
commit 44c03d0402

View File

@ -96,7 +96,7 @@ MxResult MxSoundManager::Create(MxU32 p_frequencyMS, MxBool p_createThread)
spec.format = SDL_AUDIO_F32;
spec.channels = ma_engine_get_channels(&m_engine);
if ((m_stream = SDL_OpenAudioDeviceStream(SDL_AUDIO_DEVICE_DEFAULT_OUTPUT, &spec, &AudioStreamCallback, this)) ==
if ((m_stream = SDL_OpenAudioDeviceStream(SDL_AUDIO_DEVICE_DEFAULT_PLAYBACK, &spec, &AudioStreamCallback, this)) ==
NULL) {
goto done;
}