mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-04-05 07:15:27 -04:00
conf: cards: unify whitespace - use tabs and remove trailing spaces
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:
parent
17ffe17f03
commit
f30c355278
51 changed files with 190 additions and 192 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ ICE1724.pcm.surround51.!0 {
|
|||
ttable.5.3 1
|
||||
slave {
|
||||
channels 6
|
||||
pcm {
|
||||
pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,4 +35,3 @@ Maestro3.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>
|
||||
|
|
|
|||
|
|
@ -49,4 +49,3 @@ PC-Speaker.pcm.!default {
|
|||
type null
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ SI7018.pcm.rear.!0 {
|
|||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type hooks
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue