Re: [LAD] sequencer and sysex again

From: <rdxesy@email-addr-hidden>
Date: Tue Jun 10 2008 - 03:53:51 EEST

On Sat, Jun 07, 2008 at 13:14:34 +0200
Fons Adriaensen <fons@email-addr-hidden> wrote:

> This could well be due to entirely different causes as the
> first problem.
>
> I'd first try to get the version with the usleep() working,
> and then attack the other problem.
>
> Could you try to remove *all* interaction with gtk in
> midi_callback(). Just print the received events with
> printf() and run your app from a terminal.
>

hey there,

i wrote an extra routine for requesting some special
parameters so that there are never too many parameters
requested at once.
its not good to just resize the alsa queue. its not really
a solution.
i am sure that, when i remove the mutexes and gtk stuff
from the midi_callback, the thread wont block.
but what can i do? i want the gui to update as quickly as
possible.
write another queue which is used by the midi_callback to
push data into it and add another thread that reads from
it?

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Tue Jun 10 04:15:04 2008

This archive was generated by hypermail 2.1.8 : Tue Jun 10 2008 - 04:15:04 EEST