aboutsummaryrefslogtreecommitdiff
path: root/sky/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'sky/sound.h')
-rw-r--r--sky/sound.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sky/sound.h b/sky/sound.h
index 26d8d8080f..a1083a67bc 100644
--- a/sky/sound.h
+++ b/sky/sound.h
@@ -25,19 +25,21 @@
class SkySound {
protected:
- bool _voiceIsPlaying;
-
public:
SoundMixer *_mixer;
-
+ PlayingSoundHandle _voiceHandle;
+ PlayingSoundHandle _effectHandle;
+ PlayingSoundHandle _bgSoundHandle;
protected:
+ int playSound(byte *sound, uint32 size, PlayingSoundHandle *handle);
public:
SkySound(SoundMixer *mixer);
int playVoice(byte *sound, uint32 size);
+ int playBgSound(byte *sound, uint32 size);
};