ansible/roles/pulseaudio/defaults/main.yml
Salt 1eae9d247b Bump Pulse sample rate
Probably don't need them, but now that I've got better headphones I don't want to worry about this bottleneck
2021-01-25 19:42:23 -06:00

25 lines
915 B
YAML

# vim:ft=ansible:
# Flat volumes are the behavior where Pulse uses one global audio slider
# instead of allowing for per-application, per-sink control.
pulse_flat_volumes: "no"
# Sample rate; pretty self-explanatory
# Consider setting to 96000 if you have high-quality headphones
pulse_sample_rate: 96000
pulse_sample_rate_alternate: 44100
# For some reason, Pulse does 16-bit sampling by default. This fixes that
pulse_sample_format: s32le
# Sometimes Pulse has to resample; speex-float-5 is pretty solid
pulse_resample_method: speex-float-5
pulse_resample_avoid: "true"
# Latency settings; increase if you get stuttering
# "Size" is in milliseconds
pulse_latency_fragments: 5
pulse_latency_fragment_size: 10
## You shouldn't have to mess with these settings
# Should the process be marked as high-priority?
pulse_high_priority: "yes"
# What level should Pulse renice itself to on startup?
pulse_nice_level: -19