Re: [WebAudioAPI] connecting AudioNodes from different AudioContexts

On Tue, May 15, 2012 at 1:08 PM, Olli Pettay <Olli.Pettay@helsinki.fi>wrote:

> Hi,
>
>
> What should happen in the following case:
> var c1 = new AudioContext();
> var c2 = new AudioContext();
> var b = c1.createBufferSource()
> b.connect(c2.destination);
>
> Per draft that is supported, but there is the following
> "This interface [AudioContext] represents a set of AudioNode objects and
> their connections"
> so I'm not sure what should happen.


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.



>
>
>
> -Olli
>
>

Received on Tuesday, 15 May 2012 20:21:57 UTC