- From: Robert O'Callahan <robert@ocallahan.org>
- Date: Thu, 10 Jan 2013 14:13:59 +1300
- To: Chris Rogers <crogers@google.com>
- Cc: public-audio@w3.org
- Message-ID: <CAOp6jLZu3rkVm6w0QEugKfVAwYtu-Hd_QDzxqJfehyuikWvE5g@mail.gmail.com>
On Thu, Jan 10, 2013 at 7:32 AM, Chris Rogers <crogers@google.com> wrote: > Yes, this is the case for nodes such as GainNode. DelayNode and > WaveShaperNode are similar in this way. It all happens transparently > without the JS developer needing to worry about the details. I'll try to > be more explicit in the spec to point out exactly where this happens. Here > are some other cases where the number of channels can change, due to other > causes. OK, thanks. > * MediaElementAudioSourceNode, if the .src attribute were set and the > number of channels were different. > * AudioBufferSourceNode: if the .buffer is changed to one with a different > number of channels > * ChannelMergerNode: if the channels for the inputs, or number of > connected inputs changed... > > As an implementation detail, any necessary re-configuration should > probably happen in between each "rendering quantum" of each 128 > sample-frame block, and not during the time when the graph is right in the > middle of processing the block > Yeah, there's some subtle stuff that needs to be specced here about when certain kinds of changes to the graph are allowed to happen. (Which is related to the still-open-I-think issue about whether changes performed by script are required to be applied atomically.) Thanks, Rob -- Jesus called them together and said, “You know that the rulers of the Gentiles lord it over them, and their high officials exercise authority over them. Not so with you. Instead, whoever wants to become great among you must be your servant, and whoever wants to be first must be your slave — just as the Son of Man did not come to be served, but to serve, and to give his life as a ransom for many.” [Matthew 20:25-28]
Received on Thursday, 10 January 2013 01:14:27 UTC