aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/sound.h
diff options
context:
space:
mode:
authorThierry Crozat2013-08-04 12:59:34 +0100
committerThierry Crozat2013-08-04 12:59:34 +0100
commit7b517f7fd1b463f268b2aa381ab00351092ba97b (patch)
treeb749e11498f9a7f33662b41dfd17d58c1dd4d23e /engines/mortevielle/sound.h
parentdeef0b955ca95c6c4141668f60fd0bccc0b9949d (diff)
downloadscummvm-rg350-7b517f7fd1b463f268b2aa381ab00351092ba97b.tar.gz
scummvm-rg350-7b517f7fd1b463f268b2aa381ab00351092ba97b.tar.bz2
scummvm-rg350-7b517f7fd1b463f268b2aa381ab00351092ba97b.zip
MORTEVIELLE: Improve looping of the intro song
Using a LoopingAudioStream gets rid of the pause between each loop (and simplifies the code).
Diffstat (limited to 'engines/mortevielle/sound.h')
-rw-r--r--engines/mortevielle/sound.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mortevielle/sound.h b/engines/mortevielle/sound.h
index 313859dacf..ee6aaff4ad 100644
--- a/engines/mortevielle/sound.h
+++ b/engines/mortevielle/sound.h
@@ -106,7 +106,7 @@ public:
void playNote(int frequency, int32 length);
int decodeMusic(const byte *PSrc, byte *PDest, int size);
- void playSong(const byte *buf, int size);
+ void playSong(const byte *buf, int size, int loops = 1);
void litph(tablint &t, int typ, int tempo);
};