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

@ -11,7 +11,7 @@ AACI.pcm.front.!0 {
}
type hw
card $CARD
}
}
<confdir:pcm/surround40.conf>

View file

@ -11,7 +11,7 @@ ATIIXP-SPDMA.pcm.front.!0 {
}
type hw
card $CARD
}
}
# default with dmix/dsnoop
ATIIXP.pcm.!default {

View file

@ -11,7 +11,7 @@ ATIIXP.pcm.front.!0 {
}
type hw
card $CARD
}
}
# default with dmix/dsnoop
ATIIXP.pcm.!default {

View file

@ -11,7 +11,7 @@ AU8810.pcm.front.!0 {
}
type hw
card $CARD
}
}
<confdir:pcm/iec958.conf>

View file

@ -11,4 +11,4 @@ AU8820.pcm.front.!0 {
}
type hw
card $CARD
}
}

View file

@ -11,7 +11,7 @@ AU8830.pcm.front.!0 {
}
type hw
card $CARD
}
}
<confdir:pcm/surround40.conf>

View file

@ -36,7 +36,7 @@ Audigy.pcm.front.!0 {
}
]
}
}
}
<confdir:pcm/rear.conf>
@ -64,7 +64,7 @@ Audigy.pcm.rear.!0 {
}
]
}
}
}
<confdir:pcm/center_lfe.conf>
@ -100,7 +100,7 @@ Audigy.pcm.center_lfe.!0 {
}
]
}
}
}
<confdir:pcm/surround21.conf>
<confdir:pcm/surround40.conf>

View file

@ -37,7 +37,7 @@ Audigy2.pcm.front.!0 {
]
}
}
}
<confdir:pcm/rear.conf>
@ -65,7 +65,7 @@ Audigy2.pcm.rear.!0 {
}
]
}
}
}
<confdir:pcm/center_lfe.conf>

View file

@ -34,7 +34,7 @@ Aureon51.pcm.front.!0 {
}
type hw
card $CARD
}
}
<confdir:pcm/rear.conf>
@ -47,7 +47,7 @@ Aureon51.pcm.rear.!0 {
card $CARD
device 2
subdevice 1
}
}
<confdir:pcm/center_lfe.conf>
@ -59,7 +59,7 @@ Aureon51.pcm.center_lfe.!0 {
type hw
card $CARD
device 2
}
}
<confdir:pcm/side.conf>
@ -84,7 +84,7 @@ Aureon51.pcm.surround40.!0 {
type hw
card $CARD
channels 4
}
}
<confdir:pcm/surround21.conf>
<confdir:pcm/surround41.conf>

View file

@ -34,7 +34,7 @@ Aureon71.pcm.front.!0 {
}
type hw
card $CARD
}
}
<confdir:pcm/rear.conf>
@ -46,7 +46,7 @@ Aureon71.pcm.rear.!0 {
type hw
card $CARD
device 2
}
}
<confdir:pcm/center_lfe.conf>
@ -59,7 +59,7 @@ Aureon71.pcm.center_lfe.!0 {
card $CARD
device 2
subdevice 1
}
}
<confdir:pcm/side.conf>
@ -84,7 +84,7 @@ Aureon71.pcm.surround40.!0 {
type hw
card $CARD
channels 4
}
}
<confdir:pcm/surround21.conf>
<confdir:pcm/surround41.conf>

View file

@ -34,7 +34,7 @@ CA0106.pcm.front.!0 {
}
type hw
card $CARD
}
}
<confdir:pcm/rear.conf>
@ -46,7 +46,7 @@ CA0106.pcm.rear.!0 {
type hw
card $CARD
device 1
}
}
<confdir:pcm/center_lfe.conf>
@ -58,7 +58,7 @@ CA0106.pcm.center_lfe.!0 {
type hw
card $CARD
device 2
}
}
<confdir:pcm/side.conf>
@ -70,7 +70,7 @@ CA0106.pcm.side.!0 {
type hw
card $CARD
device 3
}
}
<confdir:pcm/surround40.conf>

View file

@ -12,7 +12,7 @@ CMI8338-SWIEC.pcm.front.!0 {
}
type hw
card $CARD
}
}
# default with dmix/dsnoop
CMI8338-SWIEC.pcm.!default {

View file

@ -11,7 +11,7 @@ CMI8338.pcm.front.!0 {
}
type hw
card $CARD
}
}
# default with dmix/dsnoop
CMI8338.pcm.!default {

View file

@ -11,7 +11,7 @@ CMI8738-MC6.pcm.front.!0 {
}
type hw
card $CARD
}
}
# default with dmix/dsnoop
CMI8738-MC6.pcm.!default {
@ -75,7 +75,7 @@ CMI8738-MC6.pcm.surround40.!0 {
}
]
}
}
}
<confdir:pcm/surround21.conf>
<confdir:pcm/surround41.conf>
@ -105,7 +105,7 @@ CMI8738-MC6.pcm.surround51.!0 {
}
]
}
}
}
<confdir:pcm/iec958.conf>

View file

@ -18,7 +18,7 @@ CMI8738-MC8.pcm.front.!0 {
name "PCM Playback Volume"
card $CARD
}
}
}
# default with dmix+softvol & dsnoop
CMI8738-MC8.pcm.!default {
@ -102,7 +102,7 @@ CMI8738-MC8.pcm.surround40.!0 {
name "PCM Playback Volume"
card $CARD
}
}
}
<confdir:pcm/surround21.conf>
@ -140,7 +140,7 @@ CMI8738-MC8.pcm.surround51.!0 {
name "PCM Playback Volume"
card $CARD
}
}
}
<confdir:pcm/surround71.conf>
@ -174,7 +174,7 @@ CMI8738-MC8.pcm.surround71.!0 {
name "PCM Playback Volume"
card $CARD
}
}
}
<confdir:pcm/iec958.conf>

View file

@ -11,7 +11,7 @@ CMI8788.pcm.front.!0 {
}
type hw
card $CARD
}
}
# default with dmix & dsnoop
CMI8788.pcm.!default {
@ -46,7 +46,7 @@ CMI8788.pcm.surround40.!0 {
type hw
card $CARD
channels 4
}
}
<confdir:pcm/surround21.conf>
<confdir:pcm/surround41.conf>
@ -61,7 +61,7 @@ CMI8788.pcm.surround51.!0 {
type hw
card $CARD
channels 6
}
}
<confdir:pcm/surround71.conf>
@ -73,7 +73,7 @@ CMI8788.pcm.surround71.!0 {
type hw
card $CARD
channels 8
}
}
<confdir:pcm/iec958.conf>

View file

@ -11,7 +11,7 @@ CS46xx.pcm.front.!0 {
}
type hw
card $CARD
}
}
# default with plughw
# CS46xx supports multi-playback
@ -62,7 +62,7 @@ CS46xx.pcm.rear.!0 {
}
]
}
}
}
<confdir:pcm/center_lfe.conf>
@ -74,7 +74,7 @@ CS46xx.pcm.center_lfe.!0 {
type hw
card $CARD
device 3
}
}
<confdir:pcm/surround40.conf>

View file

@ -43,7 +43,7 @@ EMU10K1.pcm.front.!0 {
type hw
card $CARD
}
}
}
<confdir:pcm/rear.conf>
@ -74,7 +74,7 @@ EMU10K1.pcm.rear.!0 {
]
}
}
}
}
<confdir:pcm/center_lfe.conf>
@ -139,7 +139,7 @@ EMU10K1.pcm.center_lfe.!0 {
]
}
}
}
}
<confdir:pcm/surround40.conf>

View file

@ -34,7 +34,7 @@ EMU10K1X.pcm.front.!0 {
}
type hw
card $CARD
}
}
<confdir:pcm/rear.conf>
@ -46,7 +46,7 @@ EMU10K1X.pcm.rear.!0 {
type hw
card $CARD
device 1
}
}
<confdir:pcm/center_lfe.conf>
@ -58,7 +58,7 @@ EMU10K1X.pcm.center_lfe.!0 {
type hw
card $CARD
device 2
}
}
<confdir:pcm/surround40.conf>

View file

@ -12,7 +12,7 @@ ENS1370.pcm.front.!0 {
type hw
card $CARD
device 1
}
}
# default with dmix/dsnoop
ENS1370.pcm.!default {
@ -67,7 +67,7 @@ ENS1370.pcm.rear.!0 {
}
]
}
}
}
<confdir:pcm/surround40.conf>

View file

@ -11,7 +11,7 @@ ENS1371.pcm.front.!0 {
}
type hw
card $CARD
}
}
# default with dmix/dsnoop
ENS1371.pcm.!default {
@ -61,7 +61,7 @@ ENS1371.pcm.rear.!0 {
}
]
}
}
}
<confdir:pcm/surround40.conf>
@ -78,11 +78,11 @@ ENS1371.pcm.surround40.!0 {
strings [ "cards.ENS1371.pcm.front.0:CARD=" $CARD ]
}
channels 2
}
}
{
pcm {
@func concat
strings [ "cards.ENS1371.pcm.rear.0:CARD=" $CARD ]
strings [ "cards.ENS1371.pcm.rear.0:CARD=" $CARD ]
}
channels 2
}
@ -94,7 +94,7 @@ ENS1371.pcm.surround40.!0 {
{ slave 1 channel 1 }
]
}
<confdir:pcm/iec958.conf>
ENS1371.pcm.iec958.!0 {

View file

@ -9,4 +9,4 @@ ES1968.pcm.front.!0 {
}
type hw
card $CARD
}
}

View file

@ -11,7 +11,7 @@ FM801.pcm.front.!0 {
}
type hw
card $CARD
}
}
# default with dmix/dsnoop
FM801.pcm.!default {

View file

@ -16,4 +16,4 @@ GUS.pcm.front.!0 {
type hw
card $CARD
}
}
}

View file

@ -26,7 +26,7 @@ HDA-Intel.pcm.front.!0 {
type hw
card $CARD
}
}
}
# default with dmix+softvol & dsnoop
HDA-Intel.pcm.!default {

View file

@ -53,7 +53,7 @@ ICE1712.pcm.front.!0 {
}
slave.channels 12
}
}
}
<confdir:pcm/surround40.conf>
@ -72,7 +72,7 @@ ICE1712.pcm.surround40.!0 {
card $CARD
}
slave.channels 10
}
}
<confdir:pcm/surround21.conf>
<confdir:pcm/surround41.conf>

View file

@ -34,7 +34,7 @@ ICE1724.pcm.front.!0 {
}
type hw
card $CARD
}
}
<confdir:pcm/rear.conf>
@ -47,7 +47,7 @@ ICE1724.pcm.rear.!0 {
card $CARD
device 2
subdevice 1
}
}
<confdir:pcm/center_lfe.conf>
@ -59,7 +59,7 @@ ICE1724.pcm.center_lfe.!0 {
type hw
card $CARD
device 2
}
}
<confdir:pcm/side.conf>
@ -93,7 +93,7 @@ ICE1724.pcm.surround40.!0 {
card $CARD
}
}
}
}
<confdir:pcm/surround21.conf>
<confdir:pcm/surround41.conf>
@ -114,7 +114,7 @@ ICE1724.pcm.surround51.!0 {
ttable.5.3 1
slave {
channels 6
pcm {
pcm {
type hw
card $CARD
}

View file

@ -18,7 +18,7 @@ ICH.pcm.front.!0 {
name "PCM Playback Volume"
card $CARD
}
}
}
# default with dmix+softvol & dsnoop
ICH.pcm.!default {

View file

@ -18,7 +18,7 @@ ICH4.pcm.front.!0 {
name "PCM Playback Volume"
card $CARD
}
}
}
# default with dmix+softvol & dsnoop
ICH4.pcm.!default {

View file

@ -18,7 +18,7 @@ Loopback.pcm.front.!0 {
name "PCM Playback Volume"
card $CARD
}
}
}
# default with dmix+softvol & dsnoop
Loopback.pcm.!default {

View file

@ -9,7 +9,7 @@ Maestro3.pcm.front.!0 {
}
type hw
card $CARD
}
}
# default with dmix/dsnoop
Maestro3.pcm.!default {
@ -35,4 +35,3 @@ Maestro3.pcm.!default {
}
}
}

View file

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

View file

@ -20,7 +20,7 @@ PC-Speaker.pcm.front.!0 {
}
min_dB -10.0
max_dB 20.0
}
}
# default with dmix & null
PC-Speaker.pcm.!default {
@ -49,4 +49,3 @@ PC-Speaker.pcm.!default {
type null
}
}

View file

@ -11,7 +11,7 @@ PMac.pcm.front.!0 {
}
type hw
card $CARD
}
}
# default with dmix/dsnoop
PMac.pcm.!default {

View file

@ -18,7 +18,7 @@ PMacToonie.pcm.front.!0 {
name "PCM Playback Volume"
card $CARD
}
}
}
# default with dmix+softvol & dsnoop
PMacToonie.pcm.!default {

View file

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

View file

@ -11,7 +11,7 @@ RME9636.pcm.front.!0 {
}
type hw
card $CARD
}
}
# FIXME: This configuration is not valid for double-speed rates.

View file

@ -11,7 +11,7 @@ RME9652.pcm.front.!0 {
}
type hw
card $CARD
}
}
# FIXME: This configuration is not valid for double-speed rates.

View file

@ -12,7 +12,7 @@ SB-XFi.pcm.front.!0 {
type hw
card $CARD
device 0
}
}
<confdir:pcm/rear.conf>
@ -25,7 +25,7 @@ SB-XFi.pcm.rear.!0 {
card $CARD
device 1
hint.device 1
}
}
<confdir:pcm/center_lfe.conf>
@ -38,7 +38,7 @@ SB-XFi.pcm.center_lfe.!0 {
card $CARD
device 2
hint.device 2
}
}
<confdir:pcm/side.conf>
@ -51,7 +51,7 @@ SB-XFi.pcm.side.!0 {
card $CARD
device 3
hint.device 3
}
}
<confdir:pcm/surround21.conf>
<confdir:pcm/surround40.conf>

View file

@ -14,7 +14,7 @@ SI7018.pcm.front.!0 {
type hw
card $CARD
chmap [ "UNKNOWN" "FL,FR" ]
}
}
<confdir:pcm/rear.conf>
@ -23,7 +23,7 @@ SI7018.pcm.rear.!0 {
@args.CARD {
type string
}
type hooks
type hooks
slave.pcm {
type hw
card $CARD
@ -40,7 +40,7 @@ SI7018.pcm.rear.!0 {
}
]
}
}
}
<confdir:pcm/surround40.conf>

View file

@ -12,7 +12,7 @@ TRID4DWAVENX.pcm.front.!0 {
type hw
card $CARD
chmap [ "UNKNOWN" "FL,FR" ]
}
}
<confdir:pcm/rear.conf>
@ -52,7 +52,7 @@ TRID4DWAVENX.pcm.rear.!0 {
}
]
}
}
}
<confdir:pcm/surround40.conf>

View file

@ -47,7 +47,7 @@ USB-Audio.pcm.iec958_device {
"XONAR U5" 1
"XONAR SOUND CARD" 1
"Xonar SoundCard" 2
# The below don't have digital in/out, so prevent them from being opened.
"Andrea PureAudio USB-SA Headset" 999
"Blue Snowball" 999

View file

@ -14,7 +14,7 @@ VIA686A.pcm.front.!0 {
}
type hw
card $CARD
}
}
# default with dmix/dsnoop
VIA686A.pcm.!default {

View file

@ -11,7 +11,7 @@ VIA8233.pcm.front.!0 {
}
type hw
card $CARD
}
}
# default with softvol/dsnoop
# VIA8233 supports multi-playback

View file

@ -11,7 +11,7 @@ VIA8233A.pcm.front.!0 {
}
type hw
card $CARD
}
}
# default with dmix/dsnoop
VIA8233A.pcm.!default {

View file

@ -11,7 +11,7 @@ VIA8237.pcm.front.!0 {
}
type hw
card $CARD
}
}
# default with softvol/dsnoop
# VIA8237 supports multi-playback

View file

@ -11,7 +11,7 @@ VX222.pcm.front.!0 {
}
type hw
card $CARD
}
}
<confdir:pcm/iec958.conf>

View file

@ -11,7 +11,7 @@ VXPocket.pcm.front.!0 {
}
type hw
card $CARD
}
}
<confdir:pcm/iec958.conf>

View file

@ -11,7 +11,7 @@ VXPocket440.pcm.front.!0 {
}
type hw
card $CARD
}
}
<confdir:pcm/rear.conf>

View file

@ -11,7 +11,7 @@ YMF744.pcm.front.!0 {
}
type hw
card $CARD
}
}
<confdir:pcm/rear.conf>
@ -23,7 +23,7 @@ YMF744.pcm.rear.!0 {
type hw
card $CARD
device 2
}
}
<confdir:pcm/surround40.conf>

View file

@ -1,10 +1,10 @@
#
# Configuration for the pistachio chip.
#
# The data sheet of the chip and technical reference manual can be
found at
# The data sheet of the chip and technical reference manual can be
found at
https://docs.creatordev.io/ci40/guides/hardwaredocs/cXT200_datasheet2.p
df # and
df # and
https://docs.creatordev.io/ci40/guides/hardwaredocs/MIPS_Creator_cXT200_Technical_Reference_Manual_1.0.112.pdf.
#
# The list of hardware devices is as per below:
@ -30,30 +30,30 @@ https://docs.creatordev.io/ci40/guides/hardwaredocs/MIPS_Creator_cXT200_Technica
#
pistachio-card.pcm.!default {
@args [ CARD ]
@args.CARD {
type string
default "pistachio"
}
@args.DEVICE {
type integer
default 2
}
@args [ CARD ]
@args.CARD {
type string
default "pistachio"
}
@args.DEVICE {
type integer
default 2
}
type asym
capture.pcm {
type multi
slaves.a.pcm "hw:0,4"
slaves.a.channels 12
bindings.0.slave a
bindings.0.channel 4
bindings.1.slave a
bindings.1.channel 5
}
type asym
capture.pcm {
type multi
slaves.a.pcm "hw:0,4"
slaves.a.channels 12
bindings.0.slave a
bindings.0.channel 4
bindings.1.slave a
bindings.1.channel 5
}
playback.pcm {
type hw
card $CARD
device $DEVICE
}
playback.pcm {
type hw
card $CARD
device $DEVICE
}
}