Title: [107172] trunk/Source/WebCore
- Revision
- 107172
- Author
- [email protected]
- Date
- 2012-02-08 20:34:38 -0800 (Wed, 08 Feb 2012)
Log Message
Fix the caculation of preDelayFrames in DynamicsCompressorKernel
https://bugs.webkit.org/show_bug.cgi?id=78057
Patch by Raymond Liu <[email protected]> on 2012-02-08
Reviewed by Chris Rogers.
No new tests required.
* platform/audio/DynamicsCompressorKernel.cpp:
(WebCore::DynamicsCompressorKernel::setPreDelayTime):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (107171 => 107172)
--- trunk/Source/WebCore/ChangeLog 2012-02-09 04:04:54 UTC (rev 107171)
+++ trunk/Source/WebCore/ChangeLog 2012-02-09 04:34:38 UTC (rev 107172)
@@ -1,3 +1,15 @@
+2012-02-08 Raymond Liu <[email protected]>
+
+ Fix the caculation of preDelayFrames in DynamicsCompressorKernel
+ https://bugs.webkit.org/show_bug.cgi?id=78057
+
+ Reviewed by Chris Rogers.
+
+ No new tests required.
+
+ * platform/audio/DynamicsCompressorKernel.cpp:
+ (WebCore::DynamicsCompressorKernel::setPreDelayTime):
+
2012-02-08 Adam Klein <[email protected]>
DOM mutations should not be delivered on worker threads
Modified: trunk/Source/WebCore/platform/audio/DynamicsCompressorKernel.cpp (107171 => 107172)
--- trunk/Source/WebCore/platform/audio/DynamicsCompressorKernel.cpp 2012-02-09 04:04:54 UTC (rev 107171)
+++ trunk/Source/WebCore/platform/audio/DynamicsCompressorKernel.cpp 2012-02-09 04:34:38 UTC (rev 107172)
@@ -69,7 +69,7 @@
void DynamicsCompressorKernel::setPreDelayTime(float preDelayTime)
{
// Re-configure look-ahead section pre-delay if delay time has changed.
- unsigned preDelayFrames = preDelayTime / sampleRate();
+ unsigned preDelayFrames = preDelayTime * sampleRate();
if (preDelayFrames > MaxPreDelayFrames - 1)
preDelayFrames = MaxPreDelayFrames - 1;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes