[LAD] sequencer and sysex again
rdxesy at yahoo.de
rdxesy at yahoo.de
Tue Jun 10 00:53:51 UTC 2008
On Sat, Jun 07, 2008 at 13:14:34 +0200
Fons Adriaensen <fons at kokkinizita.net> 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?
More information about the Linux-audio-dev
mailing list