OpenAL + Android

This commit is contained in:
TheBrokenRail
2023-11-05 00:13:35 -04:00
committed by iProgramInCpp
parent 68166a3c36
commit 93dc4e934e
5 changed files with 17 additions and 11 deletions

View File

@@ -13,9 +13,7 @@
#include "common/Utils.hpp"
#ifndef ANDROID
#include "SoundSystemAL.hpp"
#endif
void AppPlatform_sdl_base::_init(std::string storageDir, SDL_Window *window)
{
@@ -58,11 +56,7 @@ void AppPlatform_sdl_base::initSoundSystem()
{
if (!m_pSoundSystem)
{
#ifndef ANDROID
m_pSoundSystem = new SoundSystemAL();
#else
m_pSoundSystem = new SoundSystem();
#endif
LOG_I("Initializing OpenAL SoundSystem...");
}
else