SoundStream: remove unused m_muted and IsMuted

This commit is contained in:
Michael M
2017-10-21 12:34:51 -07:00
parent 78d5dbe032
commit 7bcdd1a46a
7 changed files with 5 additions and 20 deletions

View File

@ -13,10 +13,9 @@ class SoundStream
{
protected:
std::unique_ptr<Mixer> m_mixer;
bool m_muted;
public:
SoundStream() : m_mixer(new Mixer(48000)), m_muted(false) {}
SoundStream() : m_mixer(new Mixer(48000)) {}
virtual ~SoundStream() {}
static bool isValid() { return false; }
Mixer* GetMixer() const { return m_mixer.get(); }
@ -25,6 +24,5 @@ public:
virtual void SoundLoop() {}
virtual void Stop() {}
virtual void Update() {}
virtual void Clear(bool mute) { m_muted = mute; }
bool IsMuted() const { return m_muted; }
virtual void Clear(bool mute) {}
};