[linux-audio-dev] XAP: Ansynchronous Streaming Protocol

Steve Harris S.W.Harris at ecs.soton.ac.uk
Fri Dec 13 15:00:01 UTC 2002


On Fri, Dec 13, 2002 at 07:46:37 +0100, David Olofson wrote:
> > Linuxsampler requires very tight interaction between the streaming
> > code and playback code to work.
> 
> Yes. You need to be able to tell the "butler thread" which files to 
> load/cache, and it may need to know the maximum bandwidth you will 
> use, so it can set up sufficient caching - if there's a point in 
> being that picky, that is. (Streaming from disk is nondeterministic 
> enough that the difference in latency between starting a 48 
> ksamples/s stream and a 96 ksamples/s stream becomes insignificant.)

Theres more to it than that, you have to also be aware of loop points,
layers etc.

Realisticly it has to run as a mutithreaded process.

- Steve 



More information about the Linux-audio-dev mailing list