aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorMax Horn2005-05-11 00:01:44 +0000
committerMax Horn2005-05-11 00:01:44 +0000
commit2de46dc8eb173ca06a107d5353f2209944284115 (patch)
tree2119f03a2883659d2b5fbbc70db31273271370e0 /sky
parent1a615346abab8f234c3dbd1c55e78b179bca9d87 (diff)
downloadscummvm-rg350-2de46dc8eb173ca06a107d5353f2209944284115.tar.gz
scummvm-rg350-2de46dc8eb173ca06a107d5353f2209944284115.tar.bz2
scummvm-rg350-2de46dc8eb173ca06a107d5353f2209944284115.zip
Moved some more stuff to namespace Audio (enough for tonight)
svn-id: r18040
Diffstat (limited to 'sky')
-rw-r--r--sky/intro.h2
-rw-r--r--sky/sound.cpp2
-rw-r--r--sky/sound.h10
3 files changed, 7 insertions, 7 deletions
diff --git a/sky/intro.h b/sky/intro.h
index e7840fa120..1fbf2a4bb0 100644
--- a/sky/intro.h
+++ b/sky/intro.h
@@ -56,7 +56,7 @@ private:
uint8 *_textBuf, *_saveBuf;
uint8 *_bgBuf;
uint32 _bgSize;
- SoundHandle _voice, _bgSfx;
+ Audio::SoundHandle _voice, _bgSfx;
int32 _relDelay;
diff --git a/sky/sound.cpp b/sky/sound.cpp
index c65579d950..a9a1708846 100644
--- a/sky/sound.cpp
+++ b/sky/sound.cpp
@@ -1031,7 +1031,7 @@ Sound::~Sound(void) {
if (_soundData) free(_soundData);
}
-void Sound::playSound(uint32 id, byte *sound, uint32 size, SoundHandle *handle) {
+void Sound::playSound(uint32 id, byte *sound, uint32 size, Audio::SoundHandle *handle) {
byte flags = 0;
flags |= Audio::Mixer::FLAG_UNSIGNED|Audio::Mixer::FLAG_AUTOFREE;
diff --git a/sky/sound.h b/sky/sound.h
index 2f9d68c3a9..1305369190 100644
--- a/sky/sound.h
+++ b/sky/sound.h
@@ -50,16 +50,16 @@ protected:
public:
Audio::Mixer *_mixer;
- SoundHandle _voiceHandle;
- SoundHandle _effectHandle;
- SoundHandle _bgSoundHandle;
- SoundHandle _ingameSound0, _ingameSound1, _ingameSpeech;
+ Audio::SoundHandle _voiceHandle;
+ Audio::SoundHandle _effectHandle;
+ Audio::SoundHandle _bgSoundHandle;
+ Audio::SoundHandle _ingameSound0, _ingameSound1, _ingameSpeech;
uint16 _saveSounds[2];
protected:
- void playSound(uint32 id, byte *sound, uint32 size, SoundHandle *handle);
+ void playSound(uint32 id, byte *sound, uint32 size, Audio::SoundHandle *handle);
public:
Sound(Audio::Mixer *mixer, Disk *pDisk, uint8 pVolume);