projects
/
framework
/
web
/
webkit-efl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
WebAudio task shouldn't be running on suspend to reduce usage of CPU.
[framework/web/webkit-efl.git]
/
Source
/
WebCore
/
Modules
/
webaudio
/
AudioScheduledSourceNode.cpp
diff --git
a/Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.cpp
b/Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.cpp
index
9a79e2b
..
4cfcc13
100644
(file)
--- a/
Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.cpp
+++ b/
Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.cpp
@@
-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)