mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
oxygen: add channel status controls
Add mixer controls to manage the S/PDIF channel status bits.
This commit is contained in:
parent
2ae2bbf190
commit
8be2d013f0
1 changed files with 19 additions and 5 deletions
|
|
@ -2,8 +2,6 @@
|
||||||
# Configuration for the CMI8788 chip
|
# Configuration for the CMI8788 chip
|
||||||
#
|
#
|
||||||
|
|
||||||
# TODO: add hooks for SPDIF mixer controls
|
|
||||||
|
|
||||||
<confdir:pcm/front.conf>
|
<confdir:pcm/front.conf>
|
||||||
|
|
||||||
CMI8788.pcm.front.0 {
|
CMI8788.pcm.front.0 {
|
||||||
|
|
@ -126,9 +124,25 @@ CMI8788.pcm.iec958.0 {
|
||||||
}
|
}
|
||||||
type asym
|
type asym
|
||||||
playback.pcm {
|
playback.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 PCM
|
||||||
|
device 1
|
||||||
|
name "IEC958 Playback PCM Stream"
|
||||||
|
lock true
|
||||||
|
preserve true
|
||||||
|
value [ $AES0 $AES1 $AES2 $AES3 ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
capture.pcm {
|
capture.pcm {
|
||||||
type hw
|
type hw
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue