USB-Audio: fixes for M-Audio Fast Track Ultra
- use new USB-Audio.conf macros
- follow UCM device numbering rule (continuous - use labeling)
Fixes: 27d3b45 ("Add UCM2 configuration for M-Audio Fast Track Ultra")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
133938cae1
commit
0c36a118e5
2 changed files with 11 additions and 22 deletions
|
|
@ -237,7 +237,7 @@ LibraryConfig.remap.Config {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."Line1" {
|
||||
SectionDevice."Line:12" {
|
||||
Comment "Stereo Output 1/2 (Main - Headphones 1)"
|
||||
|
||||
Macro.pcm_split.SplitPCMDevice {
|
||||
|
|
@ -256,7 +256,7 @@ SectionDevice."Line1" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."Line2" {
|
||||
SectionDevice."Line:34" {
|
||||
Comment "Stereo Output 3/4 (Headphones 2)"
|
||||
|
||||
Macro.pcm_split.SplitPCMDevice {
|
||||
|
|
@ -275,7 +275,7 @@ SectionDevice."Line2" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."Line3" {
|
||||
SectionDevice."Line:56" {
|
||||
Comment "Stereo Output 5/6"
|
||||
|
||||
Macro.pcm_split.SplitPCMDevice {
|
||||
|
|
@ -294,7 +294,7 @@ SectionDevice."Line3" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."Line4" {
|
||||
SectionDevice."Line:78" {
|
||||
Comment "Stereo Output 7/8 (S/PDIF)"
|
||||
|
||||
Macro.pcm_split.SplitPCMDevice {
|
||||
|
|
@ -317,7 +317,7 @@ SectionDevice."Line4" {
|
|||
# and then use 5/6 from the TRS input from the back (probably stereo).
|
||||
# 7/8 is only connected to S/PDIF so almost always stereo.
|
||||
|
||||
SectionDevice."Mic1" {
|
||||
SectionDevice."Mic:1" {
|
||||
Comment "Input 1"
|
||||
|
||||
Macro.pcm_split.SplitPCMDevice {
|
||||
|
|
@ -330,7 +330,7 @@ SectionDevice."Mic1" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."Mic2" {
|
||||
SectionDevice."Mic:2" {
|
||||
Comment "Input 2"
|
||||
|
||||
Macro.pcm_split.SplitPCMDevice {
|
||||
|
|
@ -343,7 +343,7 @@ SectionDevice."Mic2" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."Mic3" {
|
||||
SectionDevice."Mic:3" {
|
||||
Comment "Input 3"
|
||||
|
||||
Macro.pcm_split.SplitPCMDevice {
|
||||
|
|
@ -356,7 +356,7 @@ SectionDevice."Mic3" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."Mic4" {
|
||||
SectionDevice."Mic:4" {
|
||||
Comment "Input 4"
|
||||
|
||||
Macro.pcm_split.SplitPCMDevice {
|
||||
|
|
@ -369,7 +369,7 @@ SectionDevice."Mic4" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."Line56" {
|
||||
SectionDevice."Line:56" {
|
||||
Comment "Input 5/6"
|
||||
|
||||
Macro.pcm_split.SplitPCMDevice {
|
||||
|
|
@ -384,7 +384,7 @@ SectionDevice."Line56" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."SPDIF78" {
|
||||
SectionDevice."SPDIF:78" {
|
||||
Comment "Input 7/8 (S/PDIF)"
|
||||
|
||||
Macro.pcm_split.SplitPCMDevice {
|
||||
|
|
|
|||
|
|
@ -166,6 +166,7 @@ Macro.roland-bridgecastv2.RegexMatch "Id='0582:03((1e)|(0d))' Profile='Roland/Br
|
|||
|
||||
Macro.roland-bridgecastx.StringMatch "Id='0582:0321' Profile='Roland/BridgeCastXV2'"
|
||||
Macro.tascam-m12.StringMatch "Id='0644:805f' Profile='TASCAM/Model12'"
|
||||
Macro.maudio-fast-track-ultra.StringMatch "Id='0763:2080' Profile='M-Audio/Fast-Track-Ultra' Remap='yes'"
|
||||
|
||||
If.motu-m246 {
|
||||
Condition {
|
||||
|
|
@ -268,18 +269,6 @@ Macro.ssl2.RegexMatch "Id='31e9:000[1289]' Profile='SolidStateLabs/SSL2'"
|
|||
Macro.beacn-mic.StringMatch "Id='33ae:0001' Profile='Beacn/Beacn-Mic'"
|
||||
Macro.beacn-studio.RegexMatch "Id='33ae:[04]003' Profile='Beacn/Beacn-Studio'"
|
||||
|
||||
If.maudio-fast-track-ultra {
|
||||
Condition {
|
||||
Type String
|
||||
Haystack "${CardComponents}"
|
||||
Needle "USB0763:2080"
|
||||
}
|
||||
True.Define {
|
||||
ProfileName "M-Audio/Fast-Track-Ultra"
|
||||
MixerRemap yes
|
||||
}
|
||||
}
|
||||
|
||||
#
|
||||
# end of device specific configuration block
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue