* Add platform definitions file thanks to @Vruk11

Fixes #13
This commit is contained in:
iProgramInCpp
2023-08-05 15:54:41 +03:00
parent 90d72ac7e2
commit 386fac3ff6
4 changed files with 42 additions and 18 deletions

View File

@@ -13,18 +13,7 @@
#include "SoundSystem.hpp"
#include "SoundRepository.hpp"
// Platform specific type for the sound system.
#ifdef _WIN32
#include "../../platforms/windows/SoundSystemWindows.hpp"
#define SOUND_SYSTEM_TYPE SoundSystemWindows
#else
#define SOUND_SYSTEM_TYPE SoundSystem
#endif
//#define SOUND_SYSTEM_TYPE SoundSystemSL
// @TODO: SoundSystemSL - Use this for the Android port
#include "platforms/PlatformDefinitions.hpp"
class SoundEngine
{