[alsa] hdmi configuration

This commit is contained in:
odrling 2020-01-01 17:16:01 +01:00
parent e1f7b26203
commit d6bf4f7633
2 changed files with 39 additions and 0 deletions

View File

@ -17,6 +17,12 @@ pcm.usbout {
subdevice 0 #important?
}
pcm.!spdif {
type hw
card 0
device 7
}
pcm.usbmixer {
type dmix
ipc_key 456778
@ -66,6 +72,25 @@ pcm.sdacmixer {
}
}
pcm.hdmimixer {
type dmix
ipc_key 5678293
ipc_perm 0660
ipc_gid audio
slave {
channels 2
pcm "spdif"
period_size 1024
buffer_size 8192
}
bindings {
0 0
1 1
}
}
pcm.internalout {
type hw
card 0
@ -123,6 +148,12 @@ pcm.internaldef {
capture.pcm "defin"
}
pcm.hdmidef {
type asym
playback.pcm "hdmimixer"
capture.pcm "defin"
}
pcm.usbdef {
type asym
playback.pcm "usbmixer"

8
.alsa/asoundrc.hdmi Normal file
View File

@ -0,0 +1,8 @@
pcm.!default {
type plug
slave {
pcm "hdmidef"
}
}