[alsa-devel] Detecting new alsa sequencer clients (with some event loop) so that i can subscribe them

R. Dresens chromisx at nedlinux.nl
Tue Apr 1 23:24:00 CEST 2008

On Tue, 01 Apr 2008 09:01:50 +0200
Clemens Ladisch <clemens at ladisch.de> wrote:

> > A possible solution is polling; every second or so, i could
> > generate a list of clients with snd_seq_query_next_client and
> > look for a certain client name (libpcre comes to mind here;), but
> > I was wondering if there is a better solution? ..in other words, is
> > it possible to get such events from the system in a similar way
> > like one would receive regular  MIDI events?
> Try "aseqdump -p 0:1" to see what events you get.

Yes, that did the trick: this is exactly what I'm looking for.

Thanks for your help!


Raymond Dresens.

More information about the Alsa-devel mailing list