On Fri, Mar 23, 2012 at 4:27 PM, Alistair MacDonald <al@signedon.com> wrote:
> Forgive me if I'm being a bit dense; I'm having trouble trying to think of
> why pausing the sub-graph would be useful. I have zero experience writing
> software to mux discontinuous streams, so I may be missing something
> obvious.
>
> What is the actual benefit of being able to pause the sub-graph?
>
Jussi's probably the best person to answer this, since the request traces
back to him.
http://lists.w3.org/Archives/Public/public-audio/2012JanMar/0297.html
But I can make up an example. Suppose I have a desktop environment with a
set of widgets on the screen, where each widget's audio stream is
spatialized to sound like it's coming from the widget's position on the
screen. Now suppose I have a media player widget that uses an internal
audio graph. It would make sense to offer a "pause" API for that widget (or
maybe all apps); that API would want Chris' behavior 1a.
That may be a bit far-fetched. Maybe there are less far-fetched use-cases;
maybe there aren't. The example of a game that pauses to switch to a menu
with its own sounds is close, but it can be handled with multiple
independent audio graphs since the menu and the game never need to be mixed
together with effects.
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]