Closed
Bug 807533
Opened 12 years ago
Closed 12 years ago
Implement DelayNode
Categories
(Core :: Web Audio, defect)
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
(deleted),
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
Comment on attachment 677231 [details] [diff] [review]
Patch (v1)
>+++ b/content/media/webaudio/AudioContext.cpp
>+AudioContext::CreateDelay(const Optional<float>& aMaxDelayTime)
I think the spec here is bogus. The IDL should say:
DelayNode createDelay(optional double maxDelayTime = 1.0);
instead of describing the behavior in prose and making you implement it in C++.
Again, we could annotate DelayTime as returning a weak ref. And again, at some point we need to have something actually happen when the mDelay's value is changed, right?
r=me modulo all that.
Attachment #677231 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 3•12 years ago
|
||
(In reply to Boris Zbarsky (:bz) from comment #2)
> Comment on attachment 677231 [details] [diff] [review]
> Patch (v1)
>
> >+++ b/content/media/webaudio/AudioContext.cpp
> >+AudioContext::CreateDelay(const Optional<float>& aMaxDelayTime)
>
> I think the spec here is bogus. The IDL should say:
>
> DelayNode createDelay(optional double maxDelayTime = 1.0);
>
> instead of describing the behavior in prose and making you implement it in
> C++.
Right. I raised this yesterday at the spec level (https://www.w3.org/Bugs/Public/show_bug.cgi?id=19808) and I just changed the spec to do this, so I'll change my code here accordingly.
> Again, we could annotate DelayTime as returning a weak ref.
Will do.
> And again, at
> some point we need to have something actually happen when the mDelay's value
> is changed, right?
Yes, hopefully very soon!
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Assignee | ||
Comment 6•11 years ago
|
||
Mass moving Web Audio bugs to the Web Audio component. Filter on duckityduck.
Component: Video/Audio → Web Audio
You need to log in
before you can comment on or make changes to this bug.
Description
•