W3C home > Mailing lists > Public > public-audio@w3.org > April to June 2013

Re: ScriptProcessorNode bufferSize should be optional

From: Chris Rogers <crogers@google.com>
Date: Thu, 18 Apr 2013 10:24:52 -0700
Message-ID: <CA+EzO0kJmfEOH9k24aaHhTC-fbb0XjbAh+DatU2BjJv4oX2stQ@mail.gmail.com>
To: "Robert O'Callahan" <robert@ocallahan.org>
Cc: "public-audio@w3.org" <public-audio@w3.org>
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.


>
> Thanks,
> Rob
> --
> qqIqfq qyqoquq qlqoqvqeq qtqhqoqsqeq qwqhqoq qlqoqvqeq qyqoquq,q
> qwqhqaqtq qcqrqeqdqiqtq qiqsq qtqhqaqtq qtqoq qyqoquq?q qEqvqeqnq
> qsqiqnqnqeqrqsq qlqoqvqeq qtqhqoqsqeq qwqhqoq qlqoqvqeq qtqhqeqmq.q qAqnqdq
> qiqfq qyqoquq qdqoq qgqoqoqdq qtqoq qtqhqoqsqeq qwqhqoq qaqrqeq qgqoqoqdq
> qtqoq qyqoquq,q qwqhqaqtq qcqrqeqdqiqtq qiqsq qtqhqaqtq qtqoq qyqoquq?q
> qEqvqeqnq qsqiqnqnqeqrqsq qdqoq qtqhqaqtq.q"
>
Received on Thursday, 18 April 2013 17:25:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:18 UTC