mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 848954 - Part 32 - Disable MSG sleep. r=padenot
This has a race somewhere, so we disable it for now. The real fix will come from the Web Audio API Suspend API [0] [0]: https://github.com/WebAudio/web-audio-api/issues/317
This commit is contained in:
parent
4ce3c4269e
commit
e6fa29bd01
@ -630,6 +630,7 @@ AudioCallbackDriver::GetCurrentTime()
|
||||
|
||||
void AudioCallbackDriver::WaitForNextIteration()
|
||||
{
|
||||
#if 0
|
||||
mGraphImpl->GetMonitor().AssertCurrentThreadOwns();
|
||||
|
||||
// We can't block on the monitor in the audio callback, so we kick off a new
|
||||
@ -642,6 +643,7 @@ void AudioCallbackDriver::WaitForNextIteration()
|
||||
new AsyncCubebTask(this, AsyncCubebTask::SLEEP);
|
||||
sleepEvent->Dispatch();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -1450,7 +1450,7 @@ public:
|
||||
NS_ASSERTION(mGraph->mDetectedNotRunning,
|
||||
"We should know the graph thread control loop isn't running!");
|
||||
|
||||
STREAM_LOG(PR_LOG_DEBUG, ("Shutting down graph %p", mGraph));
|
||||
STREAM_LOG(PR_LOG_DEBUG, ("Shutting down graph %p", mGraph.get()));
|
||||
|
||||
if (mGraph->CurrentDriver()->AsAudioCallbackDriver()) {
|
||||
MOZ_ASSERT(!mGraph->CurrentDriver()->AsAudioCallbackDriver()->InCallback());
|
||||
|
Loading…
Reference in New Issue
Block a user