[linux-audio-dev] diskstream and jack

Dmitry Baikov dsbaikov at gmail.com
Fri Jul 14 15:14:10 UTC 2006


> This means every Port has his own Ringbuffer, right? So stereo needs two, 5.1
> needs 6 ?
> But i only need one sem_post for all, because i should avoid to have different
> readpositions in my RingBuffers.
As you wish, you may have one interleaved ring buffer. But only one
semaphore to rule them all.


> And if i understand Paul Davis in  the right way, i never read more data as
> jack needed, and this isn't more as 1 or 2k - normally. ??!
Vice versa. You'd better cache more data (about 5 seconds, according
to Paul), as your disk-thread is not realtime (and should not be) and
may get stuck a bit.



More information about the Linux-audio-dev mailing list