mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-22 01:40:08 -05:00
Turn on iec958 capture of iec1724 boards with spdif PCM
Automatically turn on iec958 capture of iec1724 boards with spdif PCM via hooks plugin.
This commit is contained in:
parent
f042aab013
commit
bbbb06bc8f
3 changed files with 54 additions and 9 deletions
|
|
@ -150,8 +150,23 @@ Aureon51.pcm.iec958.0 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
capture.pcm {
|
capture.pcm {
|
||||||
type hw
|
type hooks
|
||||||
card $CARD
|
slave.pcm {
|
||||||
device 1
|
type hw
|
||||||
|
card $CARD
|
||||||
|
device 1
|
||||||
|
}
|
||||||
|
hooks.0 {
|
||||||
|
type ctl_elems
|
||||||
|
hook_args [
|
||||||
|
{
|
||||||
|
interface MIXER
|
||||||
|
name "IEC958 Capture Switch"
|
||||||
|
lock true
|
||||||
|
preserve true
|
||||||
|
value true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -161,8 +161,23 @@ Aureon71.pcm.iec958.0 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
capture.pcm {
|
capture.pcm {
|
||||||
type hw
|
type hooks
|
||||||
card $CARD
|
slave.pcm {
|
||||||
device 1
|
type hw
|
||||||
|
card $CARD
|
||||||
|
device 1
|
||||||
|
}
|
||||||
|
hooks.0 {
|
||||||
|
type ctl_elems
|
||||||
|
hook_args [
|
||||||
|
{
|
||||||
|
interface MIXER
|
||||||
|
name "IEC958 Capture Switch"
|
||||||
|
lock true
|
||||||
|
preserve true
|
||||||
|
value true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -195,8 +195,23 @@ ICE1724.pcm.iec958.0 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
capture.pcm {
|
capture.pcm {
|
||||||
type hw
|
type hooks
|
||||||
card $CARD
|
slave.pcm {
|
||||||
device 1
|
type hw
|
||||||
|
card $CARD
|
||||||
|
device 1
|
||||||
|
}
|
||||||
|
hooks.0 {
|
||||||
|
type ctl_elems
|
||||||
|
hook_args [
|
||||||
|
{
|
||||||
|
interface MIXER
|
||||||
|
name "IEC958 Capture Switch"
|
||||||
|
lock true
|
||||||
|
preserve true
|
||||||
|
value true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue