diff options
author | Matthew Hoops | 2011-08-24 09:38:46 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-08-24 09:54:19 -0400 |
commit | adb69a5a39bb58a0ac6866b64ede228692a80488 (patch) | |
tree | a7e4116dd85224c23dcdb49336fb285e8f528a9d /engines/sword1/music.cpp | |
parent | 7d5f6fedda6044efba4e0f3eadd413f6cd59a56e (diff) | |
download | scummvm-rg350-adb69a5a39bb58a0ac6866b64ede228692a80488.tar.gz scummvm-rg350-adb69a5a39bb58a0ac6866b64ede228692a80488.tar.bz2 scummvm-rg350-adb69a5a39bb58a0ac6866b64ede228692a80488.zip |
AUDIO: Rename Vag to XA
Vag is really an XA container, and one that we do not have a decoder for (nor need)
Diffstat (limited to 'engines/sword1/music.cpp')
-rw-r--r-- | engines/sword1/music.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword1/music.cpp b/engines/sword1/music.cpp index b4656ff89f..7a19944c34 100644 --- a/engines/sword1/music.cpp +++ b/engines/sword1/music.cpp @@ -35,7 +35,7 @@ #include "audio/decoders/mp3.h" #include "audio/decoders/vorbis.h" #include "audio/decoders/wave.h" -#include "audio/decoders/vag.h" +#include "audio/decoders/xa.h" #define SMP_BUFSIZE 8192 @@ -131,7 +131,7 @@ bool MusicHandle::playPSX(uint16 id, bool loop) { // not over file size if ((size != 0) && (size != 0xffffffff) && ((int32)(offset + size) <= _file.size())) { _file.seek(offset, SEEK_SET); - _audioSource = Audio::makeLoopingAudioStream(Audio::makeVagStream(_file.readStream(size)), loop ? 0 : 1); + _audioSource = Audio::makeLoopingAudioStream(Audio::makeXAStream(_file.readStream(size)), loop ? 0 : 1); fadeUp(); } else { _audioSource = NULL; |