User Tools

Site Tools


notes:pulseaudio_buffer_fragment_sizes

This is an old revision of the document!


Information

buffer_size and fragment_size

pactl list sinks
buffer_size = "768000"
fragment_size = "384000"

sampling rate * bit depth = bps

48000 * 24 = 1152000

buffer_size * bps = seconds = milliseconds

768000 / 1152000 = 0.666666667 = 0.66 s = 660 ms

fragment_size * bps = seconds = milliseconds

384000 / 1152000 = 0.333333333 = 0.33 s = 330 ms

buffer_size ms / fragment_size ms = default-fragments

660 / 330 = 2

Config

nano ~/'.config/pulse/daemon.conf'
default-fragments = 2
default-fragment-size-msec = 330
/var/www/wiki/data/attic/notes/pulseaudio_buffer_fragment_sizes.1493691953.txt.gz ยท Last modified: 2017/05/01 22:25 by Sean Rhone