Closed Bug 807533 Opened 12 years ago Closed 12 years ago

Implement DelayNode

Categories

(Core :: Web Audio, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

No description provided.
Attached patch Patch (v1) (deleted) — Splinter Review
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #677231 - Flags: review?(bzbarsky)
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+
(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!
Depends on: 807697
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Mass moving Web Audio bugs to the Web Audio component. Filter on duckityduck.
Component: Video/Audio → Web Audio
Blocks: 952980
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: