-
-
Save cataluna84/b7100ab6882f3bc4344fc70d21e6d67e 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 = 192000 | |
alternate-sample-rate = 96000 | |
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 | |
} | |
# | |
# Refer this for more info - https://forum.level1techs.com/t/improving-linux-audio-updated/134511 | |
# ToDo -> Manage the Audio stack - in order to manage properly the audio from different sources, | |
# the ALSA output is redirected to PulseAudio, which in the end uses again the ALSA for the | |
# actual playback on hardware (making the stack something like this Application -> ALSA -> PulseAudio -> ALSA -> Hardware) | |
https://bbs.archlinux.org/viewtopic.php?id=245907 | |
# 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