Peter Billam
2014-04-11 05:32:36 UTC
Greetings. Hope you're all well :-) Erm... If I'm running an
ALSA-MIDI client, let's say called midifoo, and then someone does:
aconnect midifoo:1 TiMidity
or:
aconnect -d midifoo:1 TiMidity
then it seems to me that my client midifoo does not receive any
SND_SEQ_EVENT_PORT_SUBSCRIBED or SND_SEQ_EVENT_PORT_UNSUBSCRIBED
alsaevent. Is that right ?
Apparently these event-types only get received if an INPUT-port
is connected or disconnected ...
Is there a way of asking System to inform midifoo also about
connections and disconnections on OUTPUT-ports ?
or does midifoo have to poll listconnectedto() and look for changes ?
~> aptitude show alsa-base | grep Version
Version: 1.0.25+3~deb7u1
Hope this makes sense... greetings anyway :-)
Regards, Peter
ALSA-MIDI client, let's say called midifoo, and then someone does:
aconnect midifoo:1 TiMidity
or:
aconnect -d midifoo:1 TiMidity
then it seems to me that my client midifoo does not receive any
SND_SEQ_EVENT_PORT_SUBSCRIBED or SND_SEQ_EVENT_PORT_UNSUBSCRIBED
alsaevent. Is that right ?
Apparently these event-types only get received if an INPUT-port
is connected or disconnected ...
Is there a way of asking System to inform midifoo also about
connections and disconnections on OUTPUT-ports ?
or does midifoo have to poll listconnectedto() and look for changes ?
~> aptitude show alsa-base | grep Version
Version: 1.0.25+3~deb7u1
Hope this makes sense... greetings anyway :-)
Regards, Peter
--
Peter Billam www.pjb.com.au www.pjb.com.au/comp/contact.html
Peter Billam www.pjb.com.au www.pjb.com.au/comp/contact.html