Closed
Bug 937475
Opened 11 years ago
Closed 11 years ago
AudioBufferSourceNode.stop(when) interprets when incorrectly when resampling
Categories
(Core :: Web Audio, defect)
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: karlt, Assigned: karlt)
References
Details
Attachments
(4 files)
546 bytes,
text/html
|
Details | |
513 bytes,
text/html
|
Details | |
3.78 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
5.34 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
"The when parameter describes at what time (in seconds) the sound should stop playing. It is in the same time coordinate system as AudioContext.currentTime."
Currently |when| is interpreted on a timeline that advances with AudioContext.currentTime until playback starts and then in buffer time coordinates.
Assignee | ||
Comment 1•11 years ago
|
||
These two testcases should play for 1 second, but play for 4 seconds.
Assignee | ||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Ah, I don't know why but I seem to remember that I once wrote a patch to fix this. I thought that I had gotten reviews and landed it but now I can't even find a bug, which tells me that I must have forgotten to even file the bug. :(
Assignee | ||
Comment 4•11 years ago
|
||
Assignee | ||
Comment 5•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #831381 -
Flags: review?(ehsan)
Assignee | ||
Updated•11 years ago
|
Attachment #831382 -
Flags: review?(ehsan)
Assignee | ||
Comment 6•11 years ago
|
||
Once bug 937057 is fixed, this will be easier to test. Patches here are helpful in fixing bug 937057. It may be easiest to add stop calls to the test for bug 938450.
Blocks: 938450
Flags: in-testsuite?
Updated•11 years ago
|
Attachment #831381 -
Flags: review?(ehsan) → review+
Updated•11 years ago
|
Attachment #831382 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 7•11 years ago
|
||
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/27c02b405be0
https://hg.mozilla.org/mozilla-central/rev/2e2cdd1826e1
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Assignee | ||
Comment 9•11 years ago
|
||
Flags: in-testsuite? → in-testsuite+
Comment 10•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•