Oscillator::setWaveTable() should not reset oscillator phase
authorcrogers@google.com <crogers@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Apr 2012 03:19:36 +0000 (03:19 +0000)
committercrogers@google.com <crogers@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Apr 2012 03:19:36 +0000 (03:19 +0000)
https://bugs.webkit.org/show_bug.cgi?id=84647

Reviewed by Kenneth Russell.

* Modules/webaudio/Oscillator.cpp:
(WebCore::Oscillator::setWaveTable):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@114988 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/Modules/webaudio/Oscillator.cpp

index 37af970..4324bd7 100644 (file)
@@ -1,3 +1,13 @@
+2012-04-23  Chris Rogers  <crogers@google.com>
+
+        Oscillator::setWaveTable() should not reset oscillator phase
+        https://bugs.webkit.org/show_bug.cgi?id=84647
+        
+        Reviewed by Kenneth Russell.
+
+        * Modules/webaudio/Oscillator.cpp:
+        (WebCore::Oscillator::setWaveTable):
+
 2012-04-23  Kentaro Hara  <haraken@chromium.org>
 
         [V8][Refactoring] Remove V8Proxy::throwSyntaxError()
index 398d359..c5543bc 100644 (file)
@@ -275,7 +275,6 @@ void Oscillator::setWaveTable(WaveTable* waveTable)
     MutexLocker processLocker(m_processLock);
     m_waveTable = waveTable;
     m_type = CUSTOM;
-    m_virtualReadIndex = 0;
 }
 
 } // namespace WebCore