From caa3db465955ea9fee8fc78c908b7050e587487f Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 5 Jan 2010 21:10:34 +0000 Subject: - Initial implementation of looping of SeekableAudioStreams in Mixer. - Adapted AudioCD code to use this for audio CD emulation. svn-id: r47045 --- sound/mixer_intern.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'sound/mixer_intern.h') 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); -- cgit v1.2.3