Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: rv71@onet.eu
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: MIDI Through Port Number in ALSA Sequencer
Date: Tue, 27 Jul 2021 10:36:24 +0200	[thread overview]
Message-ID: <s5ho8aodugn.wl-tiwai@suse.de> (raw)
In-Reply-To: <138065115-be2ec115b2a48297ebd271870a774ed7@pmq1v.m5r2.onet>

On Sat, 24 Jul 2021 12:07:14 +0200,
rv71@onet.eu wrote:
> 
> Hello, 
> 
> ALSA Sequencer always creates MIDI Through Port with the id 14:0. However, I can't find where it is defined that this special port will have this particular id/number. I also don't see any definition in seq.h regarding this ( unlike the timer and announce special port, for example). Can you explain? 

It's a fixed client number defined with SNDRV_SEQ_CLIENT_DUMMY in the
kernel header include/uapi/sound/asequencer.h (which will be installed
in /usr/include/sound/asequencer.h).

Oh, and now I noticed that the comment in sound/core/seq/seq_dummy.c
is with an old number that is no longer correct.  Will fix up :)


Takashi

      reply	other threads:[~2021-07-27  8:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-24 10:07 MIDI Through Port Number in ALSA Sequencer rv71
2021-07-27  8:36 ` 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=s5ho8aodugn.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=rv71@onet.eu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox