Repository navigation
Commit 6cfd839
ALSA: usb-audio: UAC3. Add support for mixer unit.
This adds support for the MIXER UNIT in UAC3. All the information
is obtained from the (HIGH CAPABILITY) Cluster's header. We don't
read the rest of the logical cluster to obtain the channel config
as that wont make any difference in the current mixer behaviour.
The name of the mixer unit is not yet requested as there is not
support for the UAC3 Class Specific String requests.
Tested in an UAC3 device working as a HEADSET with a basic mixer
unit (same as the one in the BADD spec) with no controls.
Signed-off-by: Jorge Sanjuan <jorge.sanjuan@codethink.co.uk>
Reviewed-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Tested-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>1 parent 8def12d commit 6cfd839
2 files changed
Lines changed: 97 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
290 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
291 | 304 | | |
292 | 305 | | |
293 | 306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
719 | 779 | | |
720 | 780 | | |
721 | 781 | | |
| |||
863 | 923 | | |
864 | 924 | | |
865 | 925 | | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
866 | 938 | | |
867 | 939 | | |
868 | 940 | | |
| |||
1826 | 1898 | | |
1827 | 1899 | | |
1828 | 1900 | | |
1829 | | - | |
1830 | | - | |
| 1901 | + | |
| 1902 | + | |
1831 | 1903 | | |
1832 | 1904 | | |
1833 | | - | |
1834 | 1905 | | |
1835 | 1906 | | |
1836 | 1907 | | |
| |||
1907 | 1978 | | |
1908 | 1979 | | |
1909 | 1980 | | |
1910 | | - | |
1911 | | - | |
| 1981 | + | |
| 1982 | + | |
1912 | 1983 | | |
1913 | 1984 | | |
1914 | 1985 | | |
1915 | | - | |
| 1986 | + | |
1916 | 1987 | | |
1917 | 1988 | | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
1918 | 1992 | | |
1919 | 1993 | | |
1920 | 1994 | | |
| |||
1941 | 2015 | | |
1942 | 2016 | | |
1943 | 2017 | | |
1944 | | - | |
| 2018 | + | |
1945 | 2019 | | |
1946 | 2020 | | |
1947 | 2021 | | |
| |||
0 commit comments