Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp

Issue 2793593002: AudioWorklet prototype
Patch Set: Merge changes, AudioParam bug fix Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp b/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
index b3cab7b5ea4120fccf23e271c534e20546007713..7ada8a1c1bddb847e9f5891a2e15107dd385f845 100644
--- a/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
@@ -88,7 +88,7 @@ void DefaultAudioDestinationHandler::StartRendering() {
DCHECK(IsInitialized());
if (IsInitialized()) {
DCHECK(!destination_->IsPlaying());
- destination_->Start();
+ destination_->Start(Context()->GetRenderingThread());
}
}
@@ -135,7 +135,7 @@ void DefaultAudioDestinationHandler::SetChannelCount(
// Re-create destination.
destination_->Stop();
CreateDestination();
- destination_->Start();
+ destination_->Start(Context()->GetRenderingThread());
}
}

Powered by Google App Engine
This is Rietveld 408576698