[web-audio-api] (UseDoubles): float/double inconsistency (#121)

> Originally reported on W3C Bugzilla [ISSUE-17393](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17393) Tue, 05 Jun 2012 12:13:09 GMT
> Reported by Michael[tm] Smith
> Assigned to 

Audio-ISSUE-17 (UseDoubles): float/double inconsistency [Web Audio API]

http://www.w3.org/2011/audio/track/issues/17

Raised by: Marcus Geelnard
On product: Web Audio API

Throughout the spec, there seems to be a preference for using float over double (though some cases of double exists). Suggest only double except for sample format.

As an example, currentTime as a 32-bit float will degrade the precision to less than 1 ms after less than 5 hours, which is uncomfortably close to real-world usage.

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/121

Received on Wednesday, 11 September 2013 14:28:52 UTC