Re: ScriptProcessorNode bufferSize should be optional

On Thu, Apr 18, 2013 at 1:24 PM, Chris Rogers <crogers@google.com> wrote:

>
>
>
> On Thu, Apr 18, 2013 at 3:31 AM, Robert O'Callahan <robert@ocallahan.org>wrote:
>
>> On Thu, Apr 18, 2013 at 5:41 PM, Chris Rogers <crogers@google.com> wrote:
>>
>>> That seems possible, except then the number of input and output channels
>>> will take their default values of 2.  If the developer wants to choose
>>> different channel values but still have the UA choose the buffer size what
>>> would we specify for the buffer size, maybe 0?
>>>
>>
>> Ugly, but OK, I can't think of anything better.
>>
>>
>>>  I think it's best that if the UA chooses the buffer size, then the
>>> value should still be a power of 2 and be the same every time the event
>>> handler is called.  It's easier for developers that way.
>>>
>>
>> Yeah, that makes sense.
>>
>
> Ok, then let's go with that.
>

Great, I've edited the spec accordingly.  Please review and see if I missed
something.

--
Ehsan
<http://ehsanakhgari.org/>

Received on Thursday, 18 April 2013 21:18:24 UTC