Re: [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.4]

Ingo Molnar
2004-10-29T14:14:32Z

* Paul Davis <paul@linuxaudiosystems.com> wrote:

> >> if (poll (driver->pfd, nfds, driver->poll_timeout) < 0) {
> >
> >in Rui's test (9 fluidsynth instances running), what would be the value
> >of nfds - 9 or 1? I.e. is the '9 streams' abstraction provided by jackd,
> >and you map it to a single alsa driver fd over which you poll, or is
> >each stream a separate fd?
>
> for almost all audio interfaces, there is one fd per hardware device.
> so whether its a 26 channel device or a simple stereo device, there is
> one fd. jackd will be polling a single fd in that call under almost
> all circumstances, and certainly those used in rui's testing.

great - this certainly simplifies the scenario.

Ingo