Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* MIDI Through Port Number in ALSA Sequencer
@ 2021-07-24 10:07 rv71
  2021-07-27  8:36 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: rv71 @ 2021-07-24 10:07 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org

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? 

Thanks 

Robert

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

* Re: MIDI Through Port Number in ALSA Sequencer
  2021-07-24 10:07 MIDI Through Port Number in ALSA Sequencer rv71
@ 2021-07-27  8:36 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2021-07-27  8:36 UTC (permalink / raw)
  To: rv71; +Cc: alsa-devel@alsa-project.org

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

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

end of thread, other threads:[~2021-07-27  8:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-24 10:07 MIDI Through Port Number in ALSA Sequencer rv71
2021-07-27  8:36 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox