1 Apr
2008
1 Apr
'08
11:24 p.m.
On Tue, 01 Apr 2008 09:01:50 +0200 Clemens Ladisch clemens@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?
Subscribe to SND_SEQ_CLIENT_SYSTEM:SND_SEQ_PORT_SYSTEM_ANNOUNCE. 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!
Greetings,
Raymond Dresens.