Bug 76919

Summary: AudioParamTimeline functions should use doubles for time variables
Product: WebKit Reporter: Raymond Toy <rtoy>
Component: Web AudioAssignee: Raymond Toy <rtoy>
Status: RESOLVED FIXED    
Severity: Normal CC: crogers
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 77666    
Bug Blocks: 78854, 100885    

Raymond Toy
Reported 2012-01-24 09:29:16 PST
Many of the functions in the AudioParamTimeline class take floats for the time variables. They should probably take doubles to minimize round-off issues. See, for example, bug 76073 and bug 76659.
Attachments
Chris Rogers
Comment 1 2012-02-19 01:07:47 PST
Please switch to doubles in the IDL unless this is extremely difficult to reconcile with the math.
Raymond Toy
Comment 2 2012-02-21 09:16:20 PST
(In reply to comment #1) > Please switch to doubles in the IDL unless this is extremely difficult to reconcile with the math. Do you mean only in the IDL or the IDL in addition to the c++ code? It would be best to use doubles in the c++ code and the IDL.
Raymond Toy
Comment 3 2012-02-21 11:22:02 PST
It would be best to do this after bug 77666 which adds tests for AudioParam. Then we can see what impact this change will have.
Chris Rogers
Comment 4 2012-12-12 14:35:18 PST
Note You need to log in before you can comment on or make changes to this bug.