On Thu, 17.12.09 09:14, Paul Davis (paul(a)linuxaudiosystems.com) wrote:
If you care
about more than pro audio, then you want to dynamically
adjust the sleep times based on the requirements of the clients
connected. That means you cannot use fixed sized hardware fragments
anymore, but need to schedule audio more dynamically using system
timers.
This in fact is where most of the complexity in systems such as
PulseAudio stems from.
and before the accusations start flying, this is also how CoreAudio
works on OS X (and even more so in the iPhone "version" of CoreAudio,
which doesn't a lot like CoreAudio at all).
And Vista apparently too as it seems.
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4