Re: MIDI Through Port Number in ALSA Sequencer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 24 Jul 2021 12:07:14 +0200,
rv71@xxxxxxx 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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux