Skip to content

Instantly share code, notes, and snippets.

@ackdav
Created August 30, 2019 11:33
Show Gist options
  • Save ackdav/c122df5d097504886fc1dd6f644f1892 to your computer and use it in GitHub Desktop.
Save ackdav/c122df5d097504886fc1dd6f644f1892 to your computer and use it in GitHub Desktop.
Upgrade Ubuntu 19 sound via pulse_audio config
From here: https://medium.com/@gamunu/enable-high-quality-audio-on-linux-6f16f3fe7e1f
config in vim ~/.config/pulse/daemon.conf
default-sample-format = float32le
default-sample-rate = 48000
alternate-sample-rate = 44100
default-sample-channels = 2
default-channel-map = front-left,front-right
default-fragments = 2
default-fragment-size-msec = 125
resample-method = soxr-vhq
enable-lfe-remixing = no
high-priority = yes
nice-level = -11
realtime-scheduling = yes
realtime-priority = 9
rlimit-rtprio = 9
daemonize = no
then kill pulse-audio with: pulseaudio -k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment