Skip to content

Commit 0c36a11

Browse files
committed
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>
1 parent 133938c commit 0c36a11

File tree

2 files changed

+11
-22
lines changed

2 files changed

+11
-22
lines changed

ucm2/USB-Audio/M-Audio/Fast-Track-Ultra-HiFi.conf

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ LibraryConfig.remap.Config {
237237
}
238238
}
239239

240-
SectionDevice."Line1" {
240+
SectionDevice."Line:12" {
241241
Comment "Stereo Output 1/2 (Main - Headphones 1)"
242242

243243
Macro.pcm_split.SplitPCMDevice {
@@ -256,7 +256,7 @@ SectionDevice."Line1" {
256256
}
257257
}
258258

259-
SectionDevice."Line2" {
259+
SectionDevice."Line:34" {
260260
Comment "Stereo Output 3/4 (Headphones 2)"
261261

262262
Macro.pcm_split.SplitPCMDevice {
@@ -275,7 +275,7 @@ SectionDevice."Line2" {
275275
}
276276
}
277277

278-
SectionDevice."Line3" {
278+
SectionDevice."Line:56" {
279279
Comment "Stereo Output 5/6"
280280

281281
Macro.pcm_split.SplitPCMDevice {
@@ -294,7 +294,7 @@ SectionDevice."Line3" {
294294
}
295295
}
296296

297-
SectionDevice."Line4" {
297+
SectionDevice."Line:78" {
298298
Comment "Stereo Output 7/8 (S/PDIF)"
299299

300300
Macro.pcm_split.SplitPCMDevice {
@@ -317,7 +317,7 @@ SectionDevice."Line4" {
317317
# and then use 5/6 from the TRS input from the back (probably stereo).
318318
# 7/8 is only connected to S/PDIF so almost always stereo.
319319

320-
SectionDevice."Mic1" {
320+
SectionDevice."Mic:1" {
321321
Comment "Input 1"
322322

323323
Macro.pcm_split.SplitPCMDevice {
@@ -330,7 +330,7 @@ SectionDevice."Mic1" {
330330
}
331331
}
332332

333-
SectionDevice."Mic2" {
333+
SectionDevice."Mic:2" {
334334
Comment "Input 2"
335335

336336
Macro.pcm_split.SplitPCMDevice {
@@ -343,7 +343,7 @@ SectionDevice."Mic2" {
343343
}
344344
}
345345

346-
SectionDevice."Mic3" {
346+
SectionDevice."Mic:3" {
347347
Comment "Input 3"
348348

349349
Macro.pcm_split.SplitPCMDevice {
@@ -356,7 +356,7 @@ SectionDevice."Mic3" {
356356
}
357357
}
358358

359-
SectionDevice."Mic4" {
359+
SectionDevice."Mic:4" {
360360
Comment "Input 4"
361361

362362
Macro.pcm_split.SplitPCMDevice {
@@ -369,7 +369,7 @@ SectionDevice."Mic4" {
369369
}
370370
}
371371

372-
SectionDevice."Line56" {
372+
SectionDevice."Line:56" {
373373
Comment "Input 5/6"
374374

375375
Macro.pcm_split.SplitPCMDevice {
@@ -384,7 +384,7 @@ SectionDevice."Line56" {
384384
}
385385
}
386386

387-
SectionDevice."SPDIF78" {
387+
SectionDevice."SPDIF:78" {
388388
Comment "Input 7/8 (S/PDIF)"
389389

390390
Macro.pcm_split.SplitPCMDevice {

ucm2/USB-Audio/USB-Audio.conf

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ Macro.roland-bridgecastv2.RegexMatch "Id='0582:03((1e)|(0d))' Profile='Roland/Br
166166

167167
Macro.roland-bridgecastx.StringMatch "Id='0582:0321' Profile='Roland/BridgeCastXV2'"
168168
Macro.tascam-m12.StringMatch "Id='0644:805f' Profile='TASCAM/Model12'"
169+
Macro.maudio-fast-track-ultra.StringMatch "Id='0763:2080' Profile='M-Audio/Fast-Track-Ultra' Remap='yes'"
169170

170171
If.motu-m246 {
171172
Condition {
@@ -268,18 +269,6 @@ Macro.ssl2.RegexMatch "Id='31e9:000[1289]' Profile='SolidStateLabs/SSL2'"
268269
Macro.beacn-mic.StringMatch "Id='33ae:0001' Profile='Beacn/Beacn-Mic'"
269270
Macro.beacn-studio.RegexMatch "Id='33ae:[04]003' Profile='Beacn/Beacn-Studio'"
270271

271-
If.maudio-fast-track-ultra {
272-
Condition {
273-
Type String
274-
Haystack "${CardComponents}"
275-
Needle "USB0763:2080"
276-
}
277-
True.Define {
278-
ProfileName "M-Audio/Fast-Track-Ultra"
279-
MixerRemap yes
280-
}
281-
}
282-
283272
#
284273
# end of device specific configuration block
285274
#

0 commit comments

Comments
 (0)