Last active
October 10, 2024 04:57
-
-
Save cyruzin/6b2fe78830e3cced05293818e66fd0a5 to your computer and use it in GitHub Desktop.
Enable High Quality Audio on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.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 | |
remixing-produce-lfe=no | |
remixing-consume-lfe=no | |
high-priority = yes | |
nice-level = -11 | |
realtime-scheduling = yes | |
realtime-priority = 9 | |
rlimit-rtprio = 9 | |
daemonize = no | |
avoid-resampling = true | |
# /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf | |
pcm.!default { | |
type plug | |
slave.pcm hw | |
} | |
# use this one if you have mic issues | |
default-sample-format = s16le | |
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 = src-sinc-best-quality | |
remixing-produce-lfe = no | |
remixing-consume-lfe = no | |
high-priority = yes | |
nice-level = -11 | |
realtime-scheduling = yes | |
realtime-priority = 9 | |
rlimit-rtprio = 9 | |
daemonize = no | |
avoid-resampling = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment