mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added iec958 PCM definition
This commit is contained in:
parent
31e403ce9d
commit
82929cd852
1 changed files with 46 additions and 0 deletions
|
|
@ -197,3 +197,49 @@ rawmidi.hw {
|
|||
seq.hw {
|
||||
type hw
|
||||
}
|
||||
|
||||
pcm.iec958 {
|
||||
$.0 PCM
|
||||
$.1 AES0
|
||||
$.2 AES1
|
||||
$.3 AES2
|
||||
$.4 AES3
|
||||
$.PCM {
|
||||
type string
|
||||
default default
|
||||
}
|
||||
$.AES0 {
|
||||
type integer
|
||||
# IEC958_AES0_PROFESSIONAL | IEC958_AES0_NONAUDIO |
|
||||
# IEC958_AES0_PRO_EMPHASIS_NONE | IEC958_AES0_PRO_FS_48000
|
||||
default 0x87
|
||||
}
|
||||
$.AES1 {
|
||||
type integer
|
||||
default 0x00
|
||||
}
|
||||
$.AES2 {
|
||||
type integer
|
||||
default 0x00
|
||||
}
|
||||
$.AES3 {
|
||||
type integer
|
||||
default 0x00
|
||||
}
|
||||
type hooks
|
||||
slave.pcm $PCM
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
args.0 {
|
||||
name "IEC958 Playback PCM Stream"
|
||||
subdevice 0
|
||||
preserve true
|
||||
lock true
|
||||
value.0 $AES0
|
||||
value.1 $AES1
|
||||
value.2 $AES2
|
||||
value.3 $AES3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue