Stefan Sauer wrote:
> when using multi channel audio interfaces, it would be awesome to be
> able to label the ports to make it easier to select the right (pair of)
> channels in the software.

ALSA has no mechanism to associate names to multiple channels belonging to
the same PCM device.

> Likewise for multi midi interfaces (like the classic emagic amt8).

It is possible for each port to have its own name:

$ aplaymidi -l
 Port    Client name    Port name
 ...
 40:0    SC-8820        SC-8820 Part A
 40:1    SC-8820        SC-8820 Part B
 40:2    SC-8820        SC-8820 MIDI

However, only the port's owner can change the name, so the USB audio
driver would have to know about it.

> Are there any thoughts on this to support this on the Alsa level?

These labels should survive a reboot, but are not a property of the hardware,
so they must be stored somewhere else.  It is not clear who should be
responsible for that.

And if there were a new API, most programs would not know of it.


Regards,
Clemens


_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to