On Sep 13, 2013, at 1:38 PM, Robert O'Callahan <robert@ocallahan.org> wrote:
>
> Are you saying that the "pause nodes with no outputs" rule would be different for OfflineAudioContexts?
No, I’m saying that you’d connect the ScriptProcessorNode to an OfflineAudioContext’s destinationNode and throw away the resulting AudioBuffers.
> In any case you might be analyzing a getUserMedia stream or a MediaElementSourceNode (in fact there are lots of use-cases for that), which can't work in an OfflineAudioContext (hmm, this isn't specced ... new issue!) Or, you might be analyzing a subgraph which is actually being played out as well.
OfflineAudioContext will consume samples as fast as they are produced; presumably we would spec that MediaElementSourceNode will only produce samples at a 1 second-per-second rate.
If you are analyzing a subgraph that’s actually connected to a live destination, this seems moot, as we’re no longer talking about a disconnected subgraph.
-Jer