ucm2: Add config for Tascam US-2x2HR
USB ID 0644:8070 TEAC Corp. US-2x2HR Line1/Mic1/Mic2 comments mostly match the device labels Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/693 Signed-off-by: Jake Fröberg <jfroberg@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
9b688097f2
commit
e87085fdc0
3 changed files with 65 additions and 0 deletions
54
ucm2/USB-Audio/TASCAM/US2x2HR-HiFi.conf
Normal file
54
ucm2/USB-Audio/TASCAM/US2x2HR-HiFi.conf
Normal file
|
|
@ -0,0 +1,54 @@
|
||||||
|
Include.pcm_split.File "/common/pcm/split.conf"
|
||||||
|
|
||||||
|
Macro [
|
||||||
|
{
|
||||||
|
SplitPCM {
|
||||||
|
Name "us2x2hr_mono_in"
|
||||||
|
Direction Capture
|
||||||
|
Channels 1
|
||||||
|
HWChannels 2
|
||||||
|
HWChannelPos0 MONO
|
||||||
|
HWChannelPos1 MONO
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
SectionDevice."Line1" {
|
||||||
|
Comment "Line Out / Phones"
|
||||||
|
Value {
|
||||||
|
PlaybackPriority 200
|
||||||
|
PlaybackPCM "hw:${CardId}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
SectionDevice."Mic1" {
|
||||||
|
Comment "IN1"
|
||||||
|
|
||||||
|
Value {
|
||||||
|
CapturePriority 200
|
||||||
|
}
|
||||||
|
Macro.pcm_split.SplitPCMDevice {
|
||||||
|
Name "us2x2hr_mono_in"
|
||||||
|
Direction Capture
|
||||||
|
HWChannels 2
|
||||||
|
Channels 1
|
||||||
|
Channel0 0
|
||||||
|
ChannelPos0 MONO
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
SectionDevice."Mic2" {
|
||||||
|
Comment "IN2"
|
||||||
|
|
||||||
|
Value {
|
||||||
|
CapturePriority 100
|
||||||
|
}
|
||||||
|
Macro.pcm_split.SplitPCMDevice {
|
||||||
|
Name "us2x2hr_mono_in"
|
||||||
|
Direction Capture
|
||||||
|
HWChannels 2
|
||||||
|
Channels 1
|
||||||
|
Channel0 1
|
||||||
|
ChannelPos0 MONO
|
||||||
|
}
|
||||||
|
}
|
||||||
10
ucm2/USB-Audio/TASCAM/US2x2HR.conf
Normal file
10
ucm2/USB-Audio/TASCAM/US2x2HR.conf
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
Comment "TASCAM US-2x2HR"
|
||||||
|
|
||||||
|
SectionUseCase."HiFi" {
|
||||||
|
Comment "Default"
|
||||||
|
File "/USB-Audio/TASCAM/US2x2HR-HiFi.conf"
|
||||||
|
}
|
||||||
|
|
||||||
|
Include.dhw.File "/common/directm.conf"
|
||||||
|
|
||||||
|
Macro.0.DirectUseCase { Id="Direct" PlaybackChannels=2 CaptureChannels=2 }
|
||||||
|
|
@ -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.roland-bridgecastx.StringMatch "Id='0582:0321' Profile='Roland/BridgeCastXV2'"
|
||||||
Macro.tascam-m12.StringMatch "Id='0644:805f' Profile='TASCAM/Model12'"
|
Macro.tascam-m12.StringMatch "Id='0644:805f' Profile='TASCAM/Model12'"
|
||||||
|
Macro.tascam-us2xhr.StringMatch "Id='0644:8070' Profile='TASCAM/US2x2HR'"
|
||||||
Macro.maudio-fast-track-ultra.StringMatch "Id='0763:2080' Profile='M-Audio/Fast-Track-Ultra' Remap='yes'"
|
Macro.maudio-fast-track-ultra.StringMatch "Id='0763:2080' Profile='M-Audio/Fast-Track-Ultra' Remap='yes'"
|
||||||
|
|
||||||
If.motu-m246 {
|
If.motu-m246 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue