Fixes: https://github.com/alsa-project/alsa-ucm-conf/issues/170
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
--- /dev/null
+Comment "Audient iD4 USB-Audio"
+
+SectionUseCase."HiFi" {
+ Comment "Default Alsa Profile"
+ File "/USB-Audio/Audient/Audient-iD4-HiFi-0003.conf"
+}
+
+Define.DirectPlaybackChannels 2
+Define.DirectCaptureChannels 2
+
+Include.dhw.File "/common/direct.conf"
--- /dev/null
+Include.pcm_split.File "/common/pcm/split.conf"
+
+Macro [
+ {
+ SplitPCM {
+ Name "id4_mono_in"
+ Direction Capture
+ Channels 1
+ HWChannels 2
+ HWChannelPos0 FL
+ HWChannelPos1 FR
+ }
+ }
+]
+
+SectionDevice."Headphones" {
+ Comment "Headphones / Monitor"
+
+ Value {
+ PlaybackPriority 100
+ PlaybackPCM "hw:${CardId}"
+ }
+}
+
+SectionDevice."Mic" {
+ Comment "XLR Microphone"
+
+ Value {
+ CapturePriority 200
+ }
+ Macro.pcm_split.SplitPCMDevice {
+ Name "id4_mono_in"
+ Direction Capture
+ HWChannels 2
+ Channels 1
+ Channel0 0
+ ChannelPos0 MONO
+ }
+}
+
+SectionDevice."Line" {
+ Comment "DI Input"
+
+ Value {
+ CapturePriority 100
+ }
+ Macro.pcm_split.SplitPCMDevice {
+ Name "id4_mono_in"
+ Direction Capture
+ HWChannels 2
+ Channels 1
+ Channel0 1
+ ChannelPos0 MONO
+ }
+}
True.Define.ProfileName "Arturia/Minifuse-2"
}
+If.id4-0003 {
+ Condition {
+ Type String
+ Haystack "${CardComponents}"
+ Needle "USB2708:0003"
+ }
+ True.Define.ProfileName "Audient/Audient-iD4-0003"
+}
+
If.id4 {
Condition {
Type String