81 lines
2.2 KiB
Plaintext
81 lines
2.2 KiB
Plaintext
pcm.hw {
|
|
@args [ CARD DEV SUBDEV ]
|
|
@args.CARD {
|
|
type string
|
|
default {
|
|
@func getenv
|
|
vars [
|
|
ALSA_PCM_CARD
|
|
ALSA_CARD
|
|
]
|
|
default {
|
|
@func refer
|
|
name defaults.pcm.card
|
|
}
|
|
}
|
|
}
|
|
@args.DEV {
|
|
type integer
|
|
default {
|
|
@func igetenv
|
|
vars [
|
|
ALSA_PCM_DEVICE
|
|
]
|
|
default {
|
|
@func refer
|
|
name defaults.pcm.device
|
|
}
|
|
}
|
|
}
|
|
@args.SUBDEV {
|
|
type integer
|
|
default {
|
|
@func refer
|
|
name defaults.pcm.subdevice
|
|
}
|
|
}
|
|
type ahal
|
|
card $CARD
|
|
device $DEV
|
|
subdevice $SUBDEV
|
|
setting [
|
|
{ id 0 stream 0 type 0 }
|
|
{ id 1 stream 0 type 1 }
|
|
{ id 2 stream 0 type 3 }
|
|
{ id 3 stream 1 type 4 }
|
|
{ id 7 stream 0 type 2 }
|
|
]
|
|
hint {
|
|
show {
|
|
@func refer
|
|
name defaults.namehint.extended
|
|
}
|
|
description "Direct hardware device without any conversions"
|
|
}
|
|
}
|
|
|
|
#ctl.!default {
|
|
# type ahal
|
|
# card $CARD
|
|
#}
|
|
#
|
|
#ctl.hw {
|
|
# @args [ CARD ]
|
|
# @args.CARD {
|
|
# type string
|
|
# default {
|
|
# @func getenv
|
|
# vars [
|
|
# ALSA_CTL_CARD
|
|
# ALSA_CARD
|
|
# ]
|
|
# default {
|
|
# @func refer
|
|
# name defaults.ctl.card
|
|
# }
|
|
# }
|
|
# }
|
|
# type ahal
|
|
# card $CARD
|
|
# hint.description "Direct control device"
|
|
#} |