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 - 23:51:55 EET


> A second reason not to view ramps as finite is that it requires
> receivers to do one of two things:
>
> 1. Test for the target value for each sample. (Inner
> loop conditional!)
>
> 2. Prequeue an event to itself to stop the ramping at
> the right point. (Means you have to scan the event
> queue for the right place to insert this event.)
>
> Meanwhile, the sender must keep track of what it's doing anyway, so
> it really doesn't matter whether ramps stop automatically or not -
> there will always be a new event at the end of the ramp anyway.

OK, I'll buy that. Send a SET event to stop a ramp. It just means that a
ramp is (almost always) two events. Not too big a problem, I think.


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

This archive was generated by hypermail 2b28 : Fri Dec 20 2002 - 00:11:38 EET