mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
OpenAL + Android
This commit is contained in:
committed by
iProgramInCpp
parent
68166a3c36
commit
93dc4e934e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user