Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@moon131:~# cat /etc/asound.conf
- </etc/pluto/alsa/virtual_cards.conf>
- pcm_slave.spdif_convert48k {
- pcm "spdif:1,7"
- rate 48000
- }
- pcm.spdif_playback {
- type plug
- slave spdif_convert48k
- }
- pcm_slave.hdmi_convert48k {
- pcm "hdmi:1,7"
- rate 48000
- }
- pcm.hdmi_playback {
- type plug
- slave hdmi_convert48k
- }
- pcm.asym_spdif {
- type asym
- playback.pcm "spdif_playback"
- capture.pcm "plughw:1,7"
- }
- pcm.asym_hdmi {
- type asym
- playback.pcm "hdmi_playback"
- capture.pcm "plughw:1,7"
- }
- pcm.asym_analog {
- type asym
- playback.pcm "plug:dmix:1,7"
- capture.pcm "plughw:1,7"
- }
- pcm.!hdmi {
- @args [ AES0 AES1 AES2 AES3 ]
- @args.AES0 {
- type integer
- # consumer, not-copyright, emphasis-none, mode=0
- default 0x04
- }
- @args.AES1 {
- type integer
- # original, PCM coder
- default 0x00
- }
- @args.AES2 {
- type integer
- # source and channel
- default 0x00
- }
- @args.AES3 {
- type integer
- # fs=48000Hz, clock accuracy=1000ppm
- default 0x00
- }
- type hooks
- slave.pcm {
- type hw
- card 1
- device
- }
- hooks.0 {
- type ctl_elems
- hook_args [
- {
- name "IEC958 Playback Default"
- lock true
- preserve true
- value [ $AES0 $AES1 $AES2 $AES3 ]
- }
- {
- name "IEC958 Playback Switch"
- lock true
- preserve true
- value true
- }
- ]
- }
- }
- pcm.!default asym_hdmi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement