User Tools

Site Tools


notes:pulseaudio_buffer_fragment_sizes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
notes:pulseaudio_buffer_fragment_sizes [2017/05/01 22:25] Sean Rhonenotes:pulseaudio_buffer_fragment_sizes [2021/06/18 02:34] (current) – removed Sean Rhone
Line 1: Line 1:
-====== Information ====== 
  
-  * https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Setting_the_default_fragment_number_and_buffer_size_in_PulseAudio 
-  * https://forums.linuxmint.com/viewtopic.php?f=42&t=44862 
- 
-====== 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