All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: folkert <folkert@vanheusden.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: waiting for a connection
Date: Thu, 12 Aug 2021 13:59:59 +0200	[thread overview]
Message-ID: <s5hczqij2kg.wl-tiwai@suse.de> (raw)
In-Reply-To: <20210809072712.GL890690@belle.intranet.vanheusden.com>

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
> 

      reply	other threads:[~2021-08-12 12:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-09  7:27 waiting for a connection folkert
2021-08-12 11:59 ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hczqij2kg.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=folkert@vanheusden.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.