mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-29 06:59:53 -05:00
Changed arguments CARD to string (to accept card IDs). Enhanced function card_strtype to accept card IDs.
58 lines
780 B
Text
58 lines
780 B
Text
#
|
|
# Configuration for the FM801 chip
|
|
#
|
|
|
|
cards.FM801.front.0 {
|
|
@args [ CARD ]
|
|
@args.CARD {
|
|
type string
|
|
}
|
|
type hw
|
|
card $CARD
|
|
device 0
|
|
}
|
|
|
|
cards.FM801.surround40.0 "cards.FM801.front.0"
|
|
cards.FM801.surround51.0 "cards.FM801.front.0"
|
|
|
|
cards.FM801.iec958.0 {
|
|
@args [ CARD DEV AES0 AES1 AES2 AES3 ]
|
|
@args.CARD {
|
|
type string
|
|
}
|
|
@args.DEV {
|
|
type integer
|
|
}
|
|
@args.AES0 {
|
|
type integer
|
|
}
|
|
@args.AES1 {
|
|
type integer
|
|
}
|
|
@args.AES2 {
|
|
type integer
|
|
}
|
|
@args.AES3 {
|
|
type integer
|
|
}
|
|
type hooks
|
|
slave.pcm {
|
|
type hw
|
|
card $CARD
|
|
device 0
|
|
}
|
|
hooks.0 {
|
|
type ctl_elems
|
|
hook_args [
|
|
# {
|
|
# name "IEC958 Playback Default"
|
|
# value [ $AES0 $AES1 $AES2 $AES3 ]
|
|
# }
|
|
{
|
|
name "IEC958 Raw Data Playback Switch"
|
|
preserve true
|
|
value true
|
|
}
|
|
]
|
|
}
|
|
}
|