aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_sound.h
diff options
context:
space:
mode:
authorBastien Bouclet2017-07-01 13:52:50 +0200
committerEugene Sandulenko2017-07-03 08:50:10 +0200
commitdd4c0bcbeb65c62fe07ee28388f98834f1786e0c (patch)
treec37541f89f1aa33bb8680fd3301c618302962999 /engines/mohawk/riven_sound.h
parentf29197e32c023a3c7969409b2bec2f94edd4c53a (diff)
downloadscummvm-rg350-dd4c0bcbeb65c62fe07ee28388f98834f1786e0c.tar.gz
scummvm-rg350-dd4c0bcbeb65c62fe07ee28388f98834f1786e0c.tar.bz2
scummvm-rg350-dd4c0bcbeb65c62fe07ee28388f98834f1786e0c.zip
MOHAWK: Set the proper mixer sound types for Riven
Diffstat (limited to 'engines/mohawk/riven_sound.h')
-rw-r--r--engines/mohawk/riven_sound.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/mohawk/riven_sound.h b/engines/mohawk/riven_sound.h
index a929c43087..ce2ddbcbe8 100644
--- a/engines/mohawk/riven_sound.h
+++ b/engines/mohawk/riven_sound.h
@@ -154,7 +154,7 @@ private:
*/
class RivenSound {
public:
- RivenSound(MohawkEngine_Riven *vm, Audio::RewindableAudioStream *rewindStream);
+ RivenSound(MohawkEngine_Riven *vm, Audio::RewindableAudioStream *rewindStream, Audio::Mixer::SoundType mixerType);
~RivenSound();
/** Start playing the sound stream passed to the constructor */
@@ -178,7 +178,7 @@ public:
/** Change the balance */
void setBalance(int16 balance);
- /** Set the sound to indefinitely loop. Must be called before startting the playback */
+ /** Set the sound to indefinitely loop. Must be called before starting the playback */
void setLooping(bool loop);
private:
@@ -188,6 +188,7 @@ private:
MohawkEngine_Riven *_vm;
Audio::SoundHandle _handle;
+ Audio::Mixer::SoundType _mixerType;
Audio::RewindableAudioStream *_stream;
uint16 _volume;