aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/music.cpp
diff options
context:
space:
mode:
authorFabio Battaglia2009-03-15 10:25:22 +0000
committerFabio Battaglia2009-03-15 10:25:22 +0000
commit647276b8859210223c10abe51c09aac5fb6e9159 (patch)
tree319fcf6d9c4bcff781a6038d5a6063305b09fd23 /engines/sword1/music.cpp
parent08638c5f772667ea70807bd8780164f0084df147 (diff)
downloadscummvm-rg350-647276b8859210223c10abe51c09aac5fb6e9159.tar.gz
scummvm-rg350-647276b8859210223c10abe51c09aac5fb6e9159.tar.bz2
scummvm-rg350-647276b8859210223c10abe51c09aac5fb6e9159.zip
Moving sword1/vag.* into sound/, to be used by Broken Sword 2 PSX
svn-id: r39416
Diffstat (limited to 'engines/sword1/music.cpp')
-rw-r--r--engines/sword1/music.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword1/music.cpp b/engines/sword1/music.cpp
index 8553b6a286..850a861f67 100644
--- a/engines/sword1/music.cpp
+++ b/engines/sword1/music.cpp
@@ -31,7 +31,6 @@
#include "sword1/sword1.h"
#include "sword1/music.h"
-#include "sword1/vag.h"
#include "sound/aiff.h"
#include "sound/flac.h"
@@ -39,6 +38,7 @@
#include "sound/mp3.h"
#include "sound/vorbis.h"
#include "sound/wave.h"
+#include "sound/vag.h"
#define SMP_BUFSIZE 8192
@@ -274,7 +274,7 @@ bool MusicHandle::playPSX(uint16 id, bool loop) {
if (size != 0xffffffff) {
_file.seek(offset, SEEK_SET);
- _audioSource = new VagStream(_file.readStream(size), loop);
+ _audioSource = new Audio::VagStream(_file.readStream(size), loop);
fadeUp();
} else {
_audioSource = NULL;