All of lore.kernel.org
 help / color / mirror / Atom feed
* waiting for a connection
@ 2021-08-09  7:27 folkert
  2021-08-12 11:59 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: folkert @ 2021-08-09  7:27 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: waiting for a connection
  2021-08-09  7:27 waiting for a connection folkert
@ 2021-08-12 11:59 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2021-08-12 11:59 UTC (permalink / raw)
  To: folkert; +Cc: alsa-devel

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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-12 12:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-09  7:27 waiting for a connection folkert
2021-08-12 11:59 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.