aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/d_sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/driver/d_sound.cpp')
-rw-r--r--sword2/driver/d_sound.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp
index cd389daad9..3a21975fa5 100644
--- a/sword2/driver/d_sound.cpp
+++ b/sword2/driver/d_sound.cpp
@@ -33,13 +33,15 @@
// opinions on this?
#include "stdafx.h"
-#include "driver96.h"
-#include "d_sound.h"
-#include "../sword2.h"
+#include "bs2/driver/driver96.h"
+#include "bs2/driver/d_sound.h"
+#include "bs2/sword2.h"
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/rate.h"
+namespace Sword2 {
+
// Fade-out takes half a second. This may need some tuning.
#define FADE_SAMPLES 11025
@@ -1150,3 +1152,5 @@ void Sword2Sound::muteMusic(uint8 mute) {
uint8 Sword2Sound::isMusicMute(void) {
return _musicMuted;
}
+
+} // End of namespace Sword2