Re: [WebAudioAPI] connecting AudioNodes from different AudioContexts

On Tue, May 15, 2012 at 2:20 PM, Robert O'Callahan <robert@ocallahan.org>wrote:

> On Wed, May 16, 2012 at 8:21 AM, Chris Rogers <crogers@google.com> wrote:
>
>> Sorry Olli, the spec needs to be more explicit that an exception will be
>> thrown because connections between AudioNodes of different contexts are not
>> allowed.
>
>
> Why aren't they allowed? It doesn't seem hard to implement. If you're
> supporting MediaStreams integration then it's similar to
> context2.createMediaStreamNode(node1.stream).
>

Because different AudioContexts may be running at different sample-rates,
and even at faster than real-time (as soon as I add OfflineAudioContext).
 So this will not be allowed.

Chris


>
> Rob
> --
> “You have heard that it was said, ‘Love your neighbor and hate your
> enemy.’ But I tell you, love your enemies and pray for those who persecute
> you, that you may be children of your Father in heaven. ... If you love
> those who love you, what reward will you get? Are not even the tax
> collectors doing that? And if you greet only your own people, what are you
> doing more than others?" [Matthew 5:43-47]
>
>

Received on Tuesday, 15 May 2012 21:31:21 UTC