mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 14:30:43 +00:00
b=957468 remove unused mNonRealtimeIsRunning r=ehsan
--HG-- extra : transplant_source : %F1%A1%5DT%21%AE%B0%AAh%1F%BB%06X%80F%9C%BBe%15U
This commit is contained in:
parent
271b7ece33
commit
4290acab7f
@ -1127,11 +1127,6 @@ MediaStreamGraphImpl::RunThread()
|
||||
"Shouldn't have started a graph with empty message queue!");
|
||||
|
||||
uint32_t ticksProcessed = 0;
|
||||
if (!mRealtime) {
|
||||
NS_ASSERTION(!mNonRealtimeIsRunning,
|
||||
"We should not be running in non-realtime mode already");
|
||||
mNonRealtimeIsRunning = true;
|
||||
}
|
||||
|
||||
for (;;) {
|
||||
// Update mCurrentTime to the min of the playing audio times, or using the
|
||||
@ -1291,9 +1286,6 @@ MediaStreamGraphImpl::RunThread()
|
||||
}
|
||||
}
|
||||
|
||||
if (!mRealtime) {
|
||||
mNonRealtimeIsRunning = false;
|
||||
}
|
||||
profiler_unregister_thread();
|
||||
}
|
||||
|
||||
@ -2411,7 +2403,6 @@ MediaStreamGraphImpl::MediaStreamGraphImpl(bool aRealtime)
|
||||
, mNeedAnotherIteration(false)
|
||||
, mForceShutDown(false)
|
||||
, mPostedRunInStableStateEvent(false)
|
||||
, mNonRealtimeIsRunning(false)
|
||||
, mDetectedNotRunning(false)
|
||||
, mPostedRunInStableState(false)
|
||||
, mRealtime(aRealtime)
|
||||
|
@ -521,13 +521,6 @@ public:
|
||||
* RunInStableState() and the event hasn't run yet.
|
||||
*/
|
||||
bool mPostedRunInStableStateEvent;
|
||||
/**
|
||||
* True when the non-realtime graph thread is processing, as a result of
|
||||
* a request from the main thread. When processing is finished, we post
|
||||
* a message to the main thread in order to set mNonRealtimeProcessing
|
||||
* back to false.
|
||||
*/
|
||||
bool mNonRealtimeIsRunning;
|
||||
|
||||
// Main thread only
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user