Browse Source

Allowing sound backends to be used without including the whole framework.

David Piuva 2 years ago
parent
commit
7a067ede8e

+ 1 - 0
Source/soundManagers/AlsaSound.cpp

@@ -5,6 +5,7 @@
 
 
 #include "soundManagers.h"
 #include "soundManagers.h"
 #include <alsa/asoundlib.h>
 #include <alsa/asoundlib.h>
+#include "../DFPSR/base/simd.h"
 
 
 using namespace dsr;
 using namespace dsr;
 
 

+ 1 - 0
Source/soundManagers/WinMMSound.cpp

@@ -4,6 +4,7 @@
 #include "soundManagers.h"
 #include "soundManagers.h"
 #include <windows.h>
 #include <windows.h>
 #include <mmsystem.h>
 #include <mmsystem.h>
+#include "../DFPSR/base/simd.h"
 
 
 using namespace dsr;
 using namespace dsr;
 
 

+ 1 - 1
Source/soundManagers/soundManagers.h

@@ -2,7 +2,7 @@
 #ifndef DFPSR_SOUND_API
 #ifndef DFPSR_SOUND_API
 #define DFPSR_SOUND_API
 #define DFPSR_SOUND_API
 
 
-#include "../DFPSR/includeFramework.h"
+#include "../DFPSR/includeEssentials.h"
 
 
 // Call this function from a separate thread in a sound engine to initialize the sound system, call back with sound output requests and terminate when the callback returns false.
 // Call this function from a separate thread in a sound engine to initialize the sound system, call back with sound output requests and terminate when the callback returns false.
 // The sound_streamToSpeakers function returns false if the backend could not be created, and true iff the backend completed all work and terminated safely.
 // The sound_streamToSpeakers function returns false if the backend could not be created, and true iff the backend completed all work and terminated safely.