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

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.

Received on Tuesday, 15 May 2012 12:41:42 UTC