aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMax Horn2007-06-03 15:56:14 +0000
committerMax Horn2007-06-03 15:56:14 +0000
commit0d77f50d6bfd651c1b66cd7a291a62befb86e286 (patch)
tree67a4f6ee0af96c01d9939249fe67a2f6d9cb056c /sound
parent4481238faaf0c84f238f63143be34f9dc2c4debb (diff)
downloadscummvm-rg350-0d77f50d6bfd651c1b66cd7a291a62befb86e286.tar.gz
scummvm-rg350-0d77f50d6bfd651c1b66cd7a291a62befb86e286.tar.bz2
scummvm-rg350-0d77f50d6bfd651c1b66cd7a291a62befb86e286.zip
Removed dead code
svn-id: r27066
Diffstat (limited to 'sound')
-rw-r--r--sound/mixer.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index d942c575ac..cc353d58b4 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -65,8 +65,6 @@ protected:
AudioStream *_input;
public:
-
- Channel(Mixer *mixer, Mixer::SoundType type, int id = -1);
Channel(Mixer *mixer, Mixer::SoundType type, AudioStream *input, bool autofreeStream, bool reverseStereo = false, int id = -1, bool permanent = false);
virtual ~Channel();
@@ -374,13 +372,6 @@ int Mixer::getVolumeForSoundType(SoundType type) const {
#pragma mark -
-Channel::Channel(Mixer *mixer, Mixer::SoundType type, int id)
- : _type(type), _mixer(mixer), _autofreeStream(true),
- _volume(Mixer::kMaxChannelVolume), _balance(0), _paused(false), _id(id), _samplesConsumed(0),
- _samplesDecoded(0), _mixerTimeStamp(0), _converter(0), _input(0) {
- assert(mixer);
-}
-
Channel::Channel(Mixer *mixer, Mixer::SoundType type, AudioStream *input,
bool autofreeStream, bool reverseStereo, int id, bool permanent)
: _type(type), _mixer(mixer), _autofreeStream(autofreeStream),