diff options
author | Johannes Schickel | 2010-01-05 21:10:34 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-01-05 21:10:34 +0000 |
commit | caa3db465955ea9fee8fc78c908b7050e587487f (patch) | |
tree | 902209e1f69b6486724940cf1e17b7d10561bfd4 /sound/mixer_intern.h | |
parent | 3e911cd6e8295b5d499a90ce1774f86d893d9133 (diff) | |
download | scummvm-rg350-caa3db465955ea9fee8fc78c908b7050e587487f.tar.gz scummvm-rg350-caa3db465955ea9fee8fc78c908b7050e587487f.tar.bz2 scummvm-rg350-caa3db465955ea9fee8fc78c908b7050e587487f.zip |
- Initial implementation of looping of SeekableAudioStreams in Mixer.
- Adapted AudioCD code to use this for audio CD emulation.
svn-id: r47045
Diffstat (limited to 'sound/mixer_intern.h')
-rw-r--r-- | sound/mixer_intern.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sound/mixer_intern.h b/sound/mixer_intern.h index d74fc70a1c..0cd8793ff3 100644 --- a/sound/mixer_intern.h +++ b/sound/mixer_intern.h @@ -90,7 +90,16 @@ public: bool permanent = false, bool reverseStereo = false); - + virtual void playInputStreamLooping( + SoundType type, + SoundHandle *handle, + SeekableAudioStream *input, + uint loopCount, + Timestamp loopStart = Timestamp(0, 1000), Timestamp loopEnd = Timestamp(0, 1000), + int id = -1, byte volume = kMaxChannelVolume, int8 balance = 0, + bool autofreeStream = true, + bool permanent = false, + bool reverseStereo = false); virtual void stopAll(); virtual void stopID(int id); |