Remove usesMixer function from the sound streams.

This isn't used anywhere in the codebase. Not even the base SoundStream has it as part of its interface.
This commit is contained in:
lioncash 2014-03-18 10:42:07 -04:00
parent 5e5ab61d0c
commit aecc8ea666
11 changed files with 0 additions and 21 deletions

View File

@ -41,10 +41,6 @@ public:
return true;
}
virtual bool usesMixer() const {
return true;
}
virtual void Update() override;
#else

View File

@ -26,9 +26,6 @@ public:
static bool isValid() {
return true;
}
virtual bool usesMixer() const {
return true;
}
virtual void Update() override;

View File

@ -25,9 +25,6 @@ public:
static bool isValid() {
return true;
}
virtual bool usesMixer() const {
return true;
}
virtual void Update();

View File

@ -65,7 +65,6 @@ public:
virtual void Stop();
virtual void Clear(bool mute);
static bool isValid() { return true; }
virtual bool usesMixer() const { return true; }
virtual void Update();
#else

View File

@ -27,6 +27,5 @@ public:
virtual void Stop() override;
virtual void Clear(bool mute) override;
static bool isValid() { return true; }
virtual bool usesMixer() const { return true; }
virtual void Update() override;
};

View File

@ -57,7 +57,6 @@ public:
virtual void Stop() override;
virtual void Clear(bool mute) override;
static bool isValid() { return true; }
virtual bool usesMixer() const { return true; }
virtual void Update() override;
private:

View File

@ -20,7 +20,6 @@ public:
virtual bool Start();
virtual void Stop();
static bool isValid() { return true; }
virtual bool usesMixer() const { return true; }
private:
std::thread thread;

View File

@ -25,8 +25,6 @@ public:
static bool isValid() {return true;}
virtual bool usesMixer() const {return true;}
virtual void Update() override;
void StateCallback(pa_context *c);

View File

@ -60,7 +60,6 @@ public:
virtual void Update();
virtual void Clear(bool mute);
virtual void SetVolume(int volume);
virtual bool usesMixer() const { return true; }
static bool isValid() { return InitLibrary(); }

View File

@ -260,8 +260,6 @@ void XAudio2_7::Stop()
}
}
bool XAudio2_7::usesMixer() const { return true; }
#else
struct StreamingVoiceContext2_7 {};
@ -283,7 +281,6 @@ void XAudio2_7::Stop() {}
void XAudio2_7::Update() {}
void XAudio2_7::Clear(bool mute) {}
void XAudio2_7::SetVolume(int volume) {}
bool XAudio2_7::usesMixer() const { return false; }
bool XAudio2_7::InitLibrary() { return false; }
#endif

View File

@ -66,7 +66,6 @@ public:
virtual void Update();
virtual void Clear(bool mute);
virtual void SetVolume(int volume);
virtual bool usesMixer() const;
static bool isValid() { return InitLibrary(); }