Title: [106974] trunk/LayoutTests
- Revision
- 106974
- Author
- [email protected]
- Date
- 2012-02-07 12:16:09 -0800 (Tue, 07 Feb 2012)
Log Message
createImpulseBuffer uses incorrect length
https://bugs.webkit.org/show_bug.cgi?id=77665
Patch by Raymond Toy <[email protected]> on 2012-02-07
Reviewed by Kenneth Russell.
* webaudio/resources/audio-testing.js:
(createImpulseBuffer): Fix bug so the buffer has the correct
length.
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (106973 => 106974)
--- trunk/LayoutTests/ChangeLog 2012-02-07 20:04:23 UTC (rev 106973)
+++ trunk/LayoutTests/ChangeLog 2012-02-07 20:16:09 UTC (rev 106974)
@@ -1,3 +1,14 @@
+2012-02-07 Raymond Toy <[email protected]>
+
+ createImpulseBuffer uses incorrect length
+ https://bugs.webkit.org/show_bug.cgi?id=77665
+
+ Reviewed by Kenneth Russell.
+
+ * webaudio/resources/audio-testing.js:
+ (createImpulseBuffer): Fix bug so the buffer has the correct
+ length.
+
2012-02-07 Abhishek Arya <[email protected]>
Crash in ContainerNode functions due to mutation events.
Modified: trunk/LayoutTests/webaudio/resources/audio-testing.js (106973 => 106974)
--- trunk/LayoutTests/webaudio/resources/audio-testing.js 2012-02-07 20:04:23 UTC (rev 106973)
+++ trunk/LayoutTests/webaudio/resources/audio-testing.js 2012-02-07 20:16:09 UTC (rev 106974)
@@ -108,7 +108,7 @@
// Create an impulse in a buffer of length sampleFrameLength
function createImpulseBuffer(context, sampleFrameLength) {
- var audioBuffer = context.createBuffer(1, 1000, context.sampleRate);
+ var audioBuffer = context.createBuffer(1, sampleFrameLength, context.sampleRate);
var n = audioBuffer.length;
var dataL = audioBuffer.getChannelData(0);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes