Autoenable dmix by adding basic dmix conf to /etc/asound.conf

This commit is contained in:
Miles Alan 2020-03-21 23:36:40 -05:00
parent be3fbd72c4
commit 309ba5679b
3 changed files with 28 additions and 0 deletions

26
configs/asound.conf Normal file
View file

@ -0,0 +1,26 @@
# Setup Dmix
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}
ctl.dmixer {
type hw
card 0
}

View file

@ -1,3 +1,4 @@
# Mute speaker, only output to headphones
state.sun50ia64audio {
control.1 {
iface MIXER