diff --git a/fix-fedora-omnigul b/fix-fedora-omnigul index 6d4a020..5d186b3 100644 --- a/fix-fedora-omnigul +++ b/fix-fedora-omnigul @@ -2,4 +2,4 @@ sudo cp conf/sof/apl-sof.conf /etc/modprobe.d/apl-sof.conf sudo rm /etc/wireplumber/wireplumber.conf.d/51-increase-headroom.conf sudo cp headroom.conf.fixed /etc/wireplumber/wireplumber.conf.d/51-speaker-fix.conf sudo cp mic.conf.fixed /etc/wireplumber/wireplumber.conf.d/52-mic-fix.conf - +sudo dnf install pavucontrol diff --git a/headroom.conf.fixed b/headroom.conf.fixed index 1b4dd70..8cae78e 100644 --- a/headroom.conf.fixed +++ b/headroom.conf.fixed @@ -4,16 +4,21 @@ skip-monitor = [ true, true ] [device.properties] # Improve audio quality and fix distortion -api.alsa.period-size = 512 -api.alsa.headroom = 8192 +api.alsa.period-size = 1024 +api.alsa.headroom = 4096 api.alsa.disable-batch = false api.alsa.use-chmap = true api.alsa.multi-rate = true -# Increase buffer size to reduce crackling +# Set maximum volume to 28% the default (what i find sounds the best without being ***too*** distorted) +api.alsa.volume.max = 0.28 +node.param.volume.max = 0.28 + +# Increase buffer size to reduce crackling - and set latency offset to 300. node.param.max-latency = 2048/48000 node.param.rate = 48000 node.param.quality = 4 +node.latency-offset-msec = 300 # Power management settings api.alsa.pm-disable = false @@ -28,6 +33,9 @@ audio.position = [ FL FR ] node.latency = 2048/48000 api.alsa.buffer-size = 4096 -# Enable hardware volume control -device.control.hardware-volume = true +# Enable hardware mute (see below for reason) +device.control.hardware-volume = false device.control.hardware-mute = true + +# Set volume mixer to software (fixes audio not going down as many intervals as we want. lol.) +api.alsa.soft-mixer = true