aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/sound.h')
-rw-r--r--engines/kyra/sound.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/sound.h b/engines/kyra/sound.h
index fb70d6dcf1..04fbf3a1a9 100644
--- a/engines/kyra/sound.h
+++ b/engines/kyra/sound.h
@@ -515,6 +515,7 @@ public:
*
* @param stream Data stream used for playback
* It will be deleted when playback is finished
+ * @param priority priority of the sound
* @param type type
* @param volume channel volume
* @param loop true if the sound should loop (endlessly)
@@ -522,7 +523,7 @@ public:
*
* @return channel playing the sound
*/
- int playSound(Common::SeekableReadStream *stream, kSoundTypes type, int volume = 255, bool loop = false, int channel = -1);
+ int playSound(Common::SeekableReadStream *stream, uint8 priority, kSoundTypes type, int volume = 255, bool loop = false, int channel = -1);
/**
* Checks if a given channel is playing a sound.
@@ -559,6 +560,7 @@ private:
struct Sound {
Audio::SoundHandle handle;
+ uint8 priority;
AUDStream *stream;
} _sounds[4];
};