Re: [linux-audio-dev] XAP: Control events

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] XAP: Control events
From: Tim Hockin (thockin_AT_hockin.org)
Date: Thu Dec 19 2002 - 05:23:04 EET


> > 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.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Dec 19 2002 - 05:24:38 EET