mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-06 13:29:59 -05:00
Fixed iec958 capture using asym plugin.
This commit is contained in:
parent
b9a25e2ac8
commit
98ee4d4813
1 changed files with 30 additions and 22 deletions
|
|
@ -98,30 +98,38 @@ ICE1724.pcm.iec958.0 {
|
|||
@args.AES3 {
|
||||
type integer
|
||||
}
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type asym
|
||||
playback.pcm {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 1
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{
|
||||
interface MIXER
|
||||
name "IEC958 Output Switch"
|
||||
lock true
|
||||
preserve true
|
||||
value true
|
||||
}
|
||||
{
|
||||
interface PCM
|
||||
name "IEC958 Playback Default"
|
||||
device 1
|
||||
lock true
|
||||
preserve true
|
||||
value [ $AES0 $AES1 $AES2 $AES3 ]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
capture.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 1
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{
|
||||
interface MIXER
|
||||
name "IEC958 Output Switch"
|
||||
lock true
|
||||
preserve true
|
||||
value true
|
||||
}
|
||||
{
|
||||
interface PCM
|
||||
name "IEC958 Playback Default"
|
||||
device 1
|
||||
lock true
|
||||
preserve true
|
||||
value [ $AES0 $AES1 $AES2 $AES3 ]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue