1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
--- a/src/modules/sound/SDLSoundEngine.h
+++ b/src/modules/sound/SDLSoundEngine.h
@@ -3,9 +3,7 @@
#include "common/ConfigManager.h"
#include "ISoundEngine.h"
#include <unordered_map>
-
-struct Mix_Chunk;
-struct _Mix_Music;
+#include <SDL_mixer.h>
#define MAX_CHANNELS 16
@@ -15,7 +13,7 @@
typedef ChunkMap::iterator ChunkMapIter;
ChunkMap _map;
vec2 _listenerPosition;
- _Mix_Music *_music;
+ Mix_Music *_music;
std::string _musicPlaying;
int _currentChannel;
int _state;
--- a/src/modules/sound/SDLSoundEngine.cpp
+++ b/src/modules/sound/SDLSoundEngine.cpp
@@ -8,7 +8,6 @@
#include "common/Singleton.h"
#include <SDL.h>
#include <SDL_assert.h>
-#include <SDL_mixer.h>
namespace {
const int SOUND_CLOSED = 1 << 0;
|