waiting for a connection

Takashi Iwai tiwai at suse.de
Thu Aug 12 13:59:59 CEST 2021


On Mon, 09 Aug 2021 09:27:12 +0200,
folkert wrote:
> 
> 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

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


More information about the Alsa-devel mailing list