mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Fix SPDIF device
Fixed SPDIF device number.
This commit is contained in:
parent
7e5a7fbdbf
commit
acc032b63f
1 changed files with 32 additions and 10 deletions
|
|
@ -80,11 +80,13 @@ HDA-Intel.pcm.iec958.0 {
|
||||||
@args.AES3 {
|
@args.AES3 {
|
||||||
type integer
|
type integer
|
||||||
}
|
}
|
||||||
|
type asym
|
||||||
|
playback.pcm {
|
||||||
type hooks
|
type hooks
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
type hw
|
||||||
card $CARD
|
card $CARD
|
||||||
device 0
|
device 1
|
||||||
}
|
}
|
||||||
hooks.0 {
|
hooks.0 {
|
||||||
type ctl_elems
|
type ctl_elems
|
||||||
|
|
@ -104,3 +106,23 @@ HDA-Intel.pcm.iec958.0 {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
capture.pcm {
|
||||||
|
type hooks
|
||||||
|
slave.pcm {
|
||||||
|
type hw
|
||||||
|
card $CARD
|
||||||
|
device 1
|
||||||
|
}
|
||||||
|
hooks.0 {
|
||||||
|
type ctl_elems
|
||||||
|
hook_args [
|
||||||
|
{
|
||||||
|
name "IEC958 Capture Switch"
|
||||||
|
lock true
|
||||||
|
preserve true
|
||||||
|
value true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue