[linux-audio-dev] XAP and Event Outputs

David Olofson david at olofson.net
Wed Dec 11 17:38:00 UTC 2002


On Wednesday 11 December 2002 23.12, Tim Hockin wrote:
> > i'm becoming tired of discussing this matter. fine by me if
> > you can live with a plugin system that goes only half the way
> > towards usable event handling.
>
> I haven't been following this issue too closely, rather waiting for
> some decision.  I have been busy incorporating other ideas.  What
> do you suggest as an alternative to an unsigned 32 bit
> sample-counter?

It would have to be something that doesn't wrap, I think, or the only 
significant advantage I can see (being tied to the timeline instead 
of "free running time") is lost.


> I'd hate to lose good feedback because you got tired of it..

Dito. I'm (actually) trying to figure out what I missed, so I'm 
definitely interested in finding out. (If I don't know why I'm 
implementing a feature, how the h*ll am I going to get it right...?)

As far as I can tell, you can always ask the host to convert 
timestamps between any formats you like. If you absolutely cannot 
accept pluigns implementing qeueing of events after the end of the 
buffer time frame, the host could provide "long time queueing" - with 
whatever timestamp format you like. (All we need is room for some 64 
bits for timestamps - and events have to be 32 bytes anyway.)

But, when is musical time in ordinary events *required*?


//David Olofson - Programmer, Composer, Open Source Advocate

.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`---------------------------> http://olofson.net/audiality -'
.- M A I A -------------------------------------------------.
|    The Multimedia Application Integration Architecture    |
`----------------------------> http://www.linuxdj.com/maia -'
   --- http://olofson.net --- http://www.reologica.se ---



More information about the Linux-audio-dev mailing list