- From: Olivier Thereaux <notifications@github.com>
- Date: Wed, 11 Sep 2013 07:29:51 -0700
- To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Received on Wednesday, 11 September 2013 14:30:25 UTC
> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17388#3) by Marcus Geelnard (Opera) on W3C Bugzilla. Tue, 21 Aug 2012 12:25:13 GMT
Regarding the suggested interface that returns a Float32Array... Returning a Float32Array would inevitably require GC. A better solution could be to fill out a Float32Array that is passed as an argument. I also think it would be a good idea to provide a method for returning a single value, for lessening the overhead for k-rate parameters.
E.g:
partial interface AudioProcessingEvent {
void getParamValues(DOMString name, Float32Array values);
float getParamValue(DOMString name);
}
---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/134#issuecomment-24244431
Received on Wednesday, 11 September 2013 14:30:25 UTC