-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(AudioBufferSimpl): AudioBuffer simplification #80
Comments
We should hold off on this issue until the current discussions concerning "data races" are resolved. |
(In reply to comment #1)
Agreed. I'm adding a bugzilla entry to track/record the discussions on the race condition issue, and will add appropriate dependency link. |
Do we want to remove this parameter? (My vote is no, but it is not a strong position.) |
Resolved by WG on 12/4/14: we should leave this as is, for compat reasons. |
Audio-ISSUE-48 (AudioBufferSimpl): AudioBuffer simplification [Web Audio API]
http://www.w3.org/2011/audio/track/issues/48
Raised by: Philip Jägenstedt
On product: Web Audio API
The duration attribute fills no purpose, as it can be calculated trivially from sampleRate and length.
In fact, the interface can be reduced to:
The number of channels is data.length and the number of samples is data[0].length.
The name data was picked for consistency with the ImageData interface from the 2D canvas context.
The text was updated successfully, but these errors were encountered: