Florian Schmidt wrote:
Here's the pseudo-code of the relevant MIDI player routine:
for (i = 0; i < number_of_events; i++)
{
usleep(event[i].delta_time_in_microseconds);
output_and_drain_event(event[i]);
}
This routine gives a non-bearable latency on 2.4 kernels but not so much on
2.6
Clemens Ladisch wrote:
However, I wish to be able to make the sequencer or player work without the
use of the ALSA queue nor the workaround in (2).
Why?
Because the queue output and draining, AFAICS, is implemented in a blocking
manner. When events are being played by the queue in the kerne
On 24 Jul 2007 15:07:26 -, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
I've been trying to get a kernel built that will run smoothly, but this is
the problem I keep running into, I compile the kernel with SMP processor
support,
because my processor is a dual core (duh right?) but as some ma
I've been trying to get a kernel built that will run smoothly, but this is
the problem I keep running into, I compile the kernel with SMP processor
support,
because my processor is a dual core (duh right?) but as some may know, this
automatically builds in APIC support. This then leads to unruly I
Carlo Florendo wrote:
> (1) I've written a command line MIDI sequencer for lightweight systems and
> am successful in making it work using the ALSA queue API. However, one
> drawback of the API is its lack of callback functions. I wish to be able
> to track events as they are drained by the qu
On Tuesday 24 July 2007, Carlo Florendo wrote:
> Hi,
>
> (1) I've written a command line MIDI sequencer for lightweight systems and
> am successful in making it work using the ALSA queue API. However, one
> drawback of the API is its lack of callback functions. I wish to be able
> to track events
Carlo Florendo wrote:
> How could I get the app to sleep() in the most accurate way in
> userspace
clock_nanosleep() - see also
http://linuxaudio.org/pipermail/linux-audio-dev/2007-March/018691.html
robin
___
Linux-audio-dev mailing list
Linux-aud
Hi,
(1) I've written a command line MIDI sequencer for lightweight systems and
am successful in making it work using the ALSA queue API. However, one
drawback of the API is its lack of callback functions. I wish to be able
to track events as they are drained by the queue.
(2) I know and ha