- From: Robert O'Callahan <robert@ocallahan.org>
- Date: Thu, 22 Mar 2012 17:56:06 +1300
- To: olivier Thereaux <olivier.thereaux@bbc.co.uk>
- Cc: public-audio@w3.org, jussi.kalliokoski@gmail.com, Chris Rogers <crogers@google.com>
- Message-ID: <CAOp6jLbC-j8Xa8RmAf=rzb7-k4kKMV_pV1mHYKhTHT4Z0iaStQ@mail.gmail.com>
On Wed, Mar 21, 2012 at 5:29 AM, olivier Thereaux < olivier.thereaux@bbc.co.uk> wrote: > Could you have a look at it and tell me: > * Whether the page correctly records the conversation and the issue (and > whether I've missed anything), and > * Whether the discussion during the teleconference on March 5th, where > Chris stated there was sufficient control in the API, can be considered a > suitable resolution to the issue > ? > > It sounds like Chris is saying that you can pause a subgraph by pausing all its inputs. It seems to me that wouldn't be satisfactory. First of all, there are no guarantees that explicitly pausing each input will pause them all at exactly the same moment, so pausing and resuming would break synchronization. Secondly, this approach doesn't pause filter processing, and for many applications pausing the inputs (and treating them as silence, which I think is what Web Audio would do) would give different results from pausing the subgraph. For example, if you have a filter producing echoes, you will hear an echo after you pause the inputs, which is not what you want if you wanted to pause the subgraph. Thirdly, having to explicitly pause each input is not very convenient. If an app developer wants to be able to pause the output of some complicated graph, they have to keep track of all the active inputs themselves. ProcessedMediaStreams does allow pausing of subgraphs. 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 Thursday, 22 March 2012 04:56:35 UTC