WebAudio task shouldn't be running on suspend to reduce usage of CPU.
[framework/web/webkit-efl.git] / Source / WebCore / Modules / webaudio / AudioScheduledSourceNode.cpp
index 9a79e2b..4cfcc13 100644 (file)
@@ -143,6 +143,8 @@ void AudioScheduledSourceNode::start(double when, ExceptionCode& ec)
 
     m_startTime = when;
     m_playbackState = SCHEDULED_STATE;
+
+    context()->destination()->startRendering();
 }
 
 void AudioScheduledSourceNode::stop(double when, ExceptionCode& ec)