[linux-audio-dev] XAP: Control events

Tim Hockin thockin at hockin.org
Wed Dec 18 22:29:01 UTC 2002


> > Why do you need to stop ramping?  Set the value to 0, and ramp for
> > 1 block or 1/2 block or whatever
> 
> That only works if you're about to kill the plugin as well. 
> Otherwise, it will basically ignore that the port was disconnected, 
> and keep ramping forever.

nonono.  I always envisioned a ramp as being finite.  That's the whole point
of the duration field.  "Ramp to this value over N frames" where you know 
(timestamp + duration) <= (buffer_start + nsamples)

> > given that we know nothing about the future, I say no.  We've set a
> > rule that "things happen now and in this block only".  Let's stick
> > to it.
> 
> Sounds logical, but one could say that the ramping events break the 
> rule anyway, since the ramping isn't stopped automatically at the aim 

See above - they don't have to.




More information about the Linux-audio-dev mailing list