Skip to contentSkip to conversation

waiting for a connection

DISCUSSION folkert 2 participants 2 messages Aug 9, 2021 – Aug 12, 2021

lore
Share & tools
lore

folkert

author
#0 lore raw

Hi,

When I create an ALSA MIDI port, is it possible (how?) to wait for someone to connect to it/map it to an other port?

This would allow me to only allocate extra resources when needed (in my
case: connect to ipmidi-peer (in unicast mode)).

regards

#1 lore raw
Quoted 5 lines · folkert

Hi,

When I create an ALSA MIDI port, is it possible (how?) to wait for someone to connect to it/map it to an other port?

For rawmidi, there is no such a feature.

For ALSA sequencer, you can watch the subscription notifications, at least.

Takashi

Quoted 7 lines

This would allow me to only allocate extra resources when needed (in my
case: connect to ipmidi-peer (in unicast mode)).

regards