[linux-audio-dev] XAP: Some thoughts on control ramping

Steve Harris S.W.Harris at ecs.soton.ac.uk
Tue Jan 21 12:08:01 UTC 2003


On Tue, Jan 21, 2003 at 05:20:56 +0100, David Olofson wrote:
> Note that while this fixes the broken 0 duration case, it also has 
> the side effect that RAMP(value, 0) becomes equivalent to SET(value). 
> So, you don't really need to use the SET event explicitly at all.

Not quite, RAMP(new_val, 0) says that delta_val = val - new_val,
whereas SET(new_val) says that delta_val = 0, val = new_val. Not really
the same.

It also gives the possibility of controls that dont accept RAMPs, though
that may or may not be a good idea.

- Steve



More information about the Linux-audio-dev mailing list