conf: cards: unify whitespace - use tabs and remove trailing spaces
Some checks failed
Build alsa-lib / fedora_latest_build (push) Has been cancelled
Build alsa-lib / ubuntu_last_build (push) Has been cancelled

Convert leading spaces to tabs for consistent indentation,
remove trailing whitespace from all lines, and normalize
file endings across all card configuration files.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2025-12-10 16:44:12 +01:00 committed by Jaroslav Kysela
parent 17ffe17f03
commit f30c355278
51 changed files with 190 additions and 192 deletions

View file

@ -78,11 +78,11 @@ ENS1371.pcm.surround40.!0 {
strings [ "cards.ENS1371.pcm.front.0:CARD=" $CARD ] strings [ "cards.ENS1371.pcm.front.0:CARD=" $CARD ]
} }
channels 2 channels 2
} }
{ {
pcm { pcm {
@func concat @func concat
strings [ "cards.ENS1371.pcm.rear.0:CARD=" $CARD ] strings [ "cards.ENS1371.pcm.rear.0:CARD=" $CARD ]
} }
channels 2 channels 2
} }

View file

@ -114,7 +114,7 @@ ICE1724.pcm.surround51.!0 {
ttable.5.3 1 ttable.5.3 1
slave { slave {
channels 6 channels 6
pcm { pcm {
type hw type hw
card $CARD card $CARD
} }

View file

@ -35,4 +35,3 @@ Maestro3.pcm.!default {
} }
} }
} }

View file

@ -175,74 +175,74 @@ NFORCE.pcm.surround51.!0 {
<confdir:pcm/surround71.conf> <confdir:pcm/surround71.conf>
NFORCE.pcm.surround71.!0 { NFORCE.pcm.surround71.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
} }
type softvol type softvol
slave.pcm { slave.pcm {
type route type route
ttable.0.0 1 ttable.0.0 1
ttable.1.1 1 ttable.1.1 1
ttable.2.4 1 ttable.2.4 1
ttable.3.5 1 ttable.3.5 1
ttable.4.2 1 ttable.4.2 1
ttable.5.3 1 ttable.5.3 1
ttable.6.6 1 ttable.6.6 1
ttable.7.7 1 ttable.7.7 1
slave.pcm { slave.pcm {
type hooks type hooks
slave.pcm { slave.pcm {
type hw type hw
card $CARD card $CARD
device 0 device 0
} }
hooks.0 { hooks.0 {
type ctl_elems type ctl_elems
hook_args [ hook_args [
{ {
name "Channel Mode" name "Channel Mode"
preserve true preserve true
value "8ch" value "8ch"
lock true lock true
optional true optional true
} }
# for old drivers # for old drivers
{ {
name "Line-In As Surround" name "Line-In As Surround"
preserve true preserve true
value true value true
optional true optional true
} }
{ {
name "Mic As Center/LFE" name "Mic As Center/LFE"
preserve true preserve true
value true value true
optional true optional true
} }
{ {
name "Surround Down Mix" name "Surround Down Mix"
preserve true preserve true
value off value off
lock true lock true
optional true optional true
} }
{ {
name "Center/LFE Down Mix" name "Center/LFE Down Mix"
preserve true preserve true
value off value off
lock true lock true
optional true optional true
} }
] ]
} }
} }
slave.channels 8 slave.channels 8
} }
control { control {
name "PCM Playback Volume" name "PCM Playback Volume"
card $CARD card $CARD
} }
} }
<confdir:pcm/iec958.conf> <confdir:pcm/iec958.conf>

View file

@ -49,4 +49,3 @@ PC-Speaker.pcm.!default {
type null type null
} }
} }

View file

@ -34,8 +34,8 @@ PS3.pcm.!default {
type softvol type softvol
slave.pcm { slave.pcm {
@func concat @func concat
#strings [ "dmix:CARD=" $CARD ] #strings [ "dmix:CARD=" $CARD ]
strings [ "dmix:CARD=" $CARD ",FORMAT=S16" ] strings [ "dmix:CARD=" $CARD ",FORMAT=S16" ]
} }
control { control {
name "PCM Playback Volume" name "PCM Playback Volume"

View file

@ -23,7 +23,7 @@ SI7018.pcm.rear.!0 {
@args.CARD { @args.CARD {
type string type string
} }
type hooks type hooks
slave.pcm { slave.pcm {
type hw type hw
card $CARD card $CARD

View file

@ -30,30 +30,30 @@ https://docs.creatordev.io/ci40/guides/hardwaredocs/MIPS_Creator_cXT200_Technica
# #
pistachio-card.pcm.!default { pistachio-card.pcm.!default {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
default "pistachio" default "pistachio"
} }
@args.DEVICE { @args.DEVICE {
type integer type integer
default 2 default 2
} }
type asym type asym
capture.pcm { capture.pcm {
type multi type multi
slaves.a.pcm "hw:0,4" slaves.a.pcm "hw:0,4"
slaves.a.channels 12 slaves.a.channels 12
bindings.0.slave a bindings.0.slave a
bindings.0.channel 4 bindings.0.channel 4
bindings.1.slave a bindings.1.slave a
bindings.1.channel 5 bindings.1.channel 5
} }
playback.pcm { playback.pcm {
type hw type hw
card $CARD card $CARD
device $DEVICE device $DEVICE
} }
} }