From 0d77f50d6bfd651c1b66cd7a291a62befb86e286 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 3 Jun 2007 15:56:14 +0000 Subject: Removed dead code svn-id: r27066 --- sound/mixer.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sound') 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), -- cgit v1.2.3