fixed the audio not working (yayyyy)

This commit is contained in:
2026-09-25 16:20:19 +01:00
parent 0eaed342d8
commit 4a5b823e81

View File

@@ -69,8 +69,19 @@
# Make Davinci use the generic alsa device so it doesn't hang when there isn't one available # Make Davinci use the generic alsa device so it doesn't hang when there isn't one available
davinciAlsaConfig = pkgs.writeText "davinci-alsa.conf" '' davinciAlsaConfig = pkgs.writeText "davinci-alsa.conf" ''
pcm.!default { pcm.!default {
type plug type asym
slave.pcm "hw:CARD=Generic,DEV=0" playback.pcm {
type pulse
device "alsa_output.pci-0000_0b_00.4.analog-stereo"
}
capture.pcm {
type pulse
device "alsa_input.pci-0000_0b_00.4.analog-stereo"
}
}
ctl.!default {
type pulse
} }
''; '';
in in
@@ -81,6 +92,7 @@
with inner-pkgs; with inner-pkgs;
[ [
alsa-lib alsa-lib
alsa-plugins
aprutil aprutil
bzip2 bzip2
dbus dbus