[linux-audio-dev] Plugin APIs (again)

John Lazzaro lazzaro at CS.Berkeley.EDU
Sat Dec 7 21:33:01 UTC 2002


> David Olofson <david at olofson.net> writes:
>
> Yes - but we're not talking about MIDI here. We *may* require that 
> events are never lost, and even that it's not legal to send two 
> identical events in line to an event port, unless you really mean 
> something else than to set a controller to the same value twice.

Think ahead about how these sorts of requirements will be enforced:
will they be a "law of nature" (code checks to see if an app broke
the law, and takes action, like nature takes action when you try
to change the current flowing through an inductor :-), or will
it be unchecked by code? If its the latter, you can get into 
this mode where everyone has extra checking and work-around code,
to handle impolite API users who aren't obeying the requirements.

-------------------------------------------------------------------------
John Lazzaro -- Research Specialist -- CS Division -- EECS -- UC Berkeley
lazzaro [at] cs [dot] berkeley [dot] edu     www.cs.berkeley.edu/~lazzaro
-------------------------------------------------------------------------



More information about the Linux-audio-dev mailing list