Closed
Bug 880129
Opened 11 years ago
Closed 11 years ago
WebAudio Assertion failure: mWriteIndex <= bufferSize [@mozilla::dom::AnalyserNode::AppendChunk]
Categories
(Core :: Web Audio, defect)
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: posidron, Assigned: ehsan.akhgari)
References
Details
(Keywords: assertion, crash, testcase)
Attachments
(3 files, 1 obsolete file)
No description provided.
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Comment 2•11 years ago
|
||
reduced testcase
Attachment #758991 -
Attachment is obsolete: true
Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 759595 [details] [diff] [review]
Patch (v1)
Review of attachment 759595 [details] [diff] [review]:
-----------------------------------------------------------------
::: content/media/webaudio/AnalyserNode.cpp
@@ +281,5 @@
> + // Copy a maximum bufferSize samples.
> + chunkCount = bufferSize;
> + }
> +
> + PodCopy(mBuffer.Elements() + mWriteIndex, static_cast<const float*>(aChunk.mChannelData[0]), chunkCount);
chunkCount is a terrible name here. It's not the count of chunks. Call it chunkDuration.
Attachment #759595 -
Flags: review?(roc) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in
before you can comment on or make changes to this bug.
Description
•