bug 1457058 remove unused GraphDriver::RemoveCallback() r=padenot

MozReview-Commit-ID: 3ZWfWEJ7bko

--HG--
extra : rebase_source : 2bd9b8fd0f87f87905606f5550c9645fbe68b465
This commit is contained in:
Karl Tomlinson 2018-04-26 17:50:59 +12:00
parent aec8bc8a3a
commit c3c3a90bcb
2 changed files with 2 additions and 10 deletions

View File

@ -235,11 +235,6 @@ ThreadedDriver::Revive()
}
}
void
ThreadedDriver::RemoveCallback()
{
}
void
ThreadedDriver::Shutdown()
{
@ -329,7 +324,6 @@ ThreadedDriver::RunThread()
MonitorAutoLock lock(GraphImpl()->GetMonitor());
if (NextDriver()) {
LOG(LogLevel::Debug, ("Switching to AudioCallbackDriver"));
RemoveCallback();
NextDriver()->SetGraphTime(this, mIterationStart, mIterationEnd);
mGraphImpl->SetCurrentDriver(NextDriver());
NextDriver()->Start();

View File

@ -123,8 +123,6 @@ public:
virtual void Start() = 0;
/* Revive this driver, as more messages just arrived. */
virtual void Revive() = 0;
/* Remove Mixer callbacks when switching */
virtual void RemoveCallback() = 0;
/* Shutdown GraphDriver (synchronously) */
virtual void Shutdown() = 0;
/* Rate at which the GraphDriver runs, in ms. This can either be user
@ -248,7 +246,6 @@ public:
virtual ~ThreadedDriver();
void Start() override;
void Revive() override;
void RemoveCallback() override;
void Shutdown() override;
/**
* Runs main control loop on the graph thread. Normally a single invocation
@ -385,7 +382,6 @@ public:
void Start() override;
void Revive() override;
void RemoveCallback() override;
void WaitForNextIteration() override;
void WakeUp() override;
void Shutdown() override;
@ -472,6 +468,8 @@ public:
SharedThreadPool* GetInitShutdownThread();
private:
/* Remove Mixer callbacks when switching */
void RemoveCallback() ;
/**
* On certain MacBookPro, the microphone is located near the left speaker.
* We need to pan the sound output to the right speaker if we are using the