Ucm2 device sorting / ordering

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

 



alsa-project/alsa-lib issue #397 was edited from beatboxa:

The sort order that devices are probed and ultimately listed in my OS sound settings is reversed--though consistent--from the order that they appear (top to bottom) in the UCM configuration files.  And they also do not appear consistent with configured device priority.

In other words, if the UCM configuration file hypothetically lists the following, from top to bottom:

1. Device 1 - priority 300
2. Device 2 - priority 100
3. Device 3 - priority 200

These devices will be probed and listed in the OS in the following order:

1. Device 3
2. Device 2
3. Device 1

I am currently creating a UCM config file for a device with 32 discreet output channels and 30 discreet input channels (and both stereo and mono device versions of many of these), so the sort order is crucial for user experience in a list this long.

I originally tried to reorder and rename the devices in the ucm configuration file to make it easier to follow and list correctly in my OS, but then I ran afoul of the alsa-lib rules for naming and ordering.

Related:

- https://github.com/alsa-project/alsa-ucm-conf/pull/416#issuecomment-2111101525
- https://github.com/alsa-project/alsa-lib/issues/245#issuecomment-1168910073

Issue URL     : https://github.com/alsa-project/alsa-lib/issues/397
Repository URL: https://github.com/alsa-project/alsa-lib



[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