mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-16 07:00:00 -05:00
pulse-server: increase min quantum values
The default values of 128/48000 seem to be too low as a good default. Bump them to 256/48000. Fixes #4875
This commit is contained in:
parent
eec5eaf8df
commit
7bd65cfe93
3 changed files with 12 additions and 12 deletions
|
|
@ -109,12 +109,12 @@ pulse.properties = {
|
|||
]
|
||||
#server.dbus-name = "org.pulseaudio.Server"
|
||||
#pulse.allow-module-loading = true
|
||||
#pulse.min.req = 128/48000 # 2.7ms
|
||||
#pulse.min.req = 256/48000 # 5.3ms
|
||||
#pulse.default.req = 960/48000 # 20 milliseconds
|
||||
#pulse.min.frag = 128/48000 # 2.7ms
|
||||
#pulse.min.frag = 256/48000 # 5.3ms
|
||||
#pulse.default.frag = 96000/48000 # 2 seconds
|
||||
#pulse.default.tlength = 96000/48000 # 2 seconds
|
||||
#pulse.min.quantum = 128/48000 # 2.7ms
|
||||
#pulse.min.quantum = 256/48000 # 5.3ms
|
||||
#pulse.idle.timeout = 0 # don't pause after underruns
|
||||
#pulse.default.format = F32
|
||||
#pulse.default.position = [ FL FR ]
|
||||
|
|
|
|||
|
|
@ -67,12 +67,12 @@
|
|||
* ]
|
||||
* #server.dbus-name = "org.pulseaudio.Server"
|
||||
* #pulse.allow-module-loading = true
|
||||
* #pulse.min.req = 128/48000 # 2.7ms
|
||||
* #pulse.min.req = 256/48000 # 5.3ms
|
||||
* #pulse.default.req = 960/48000 # 20 milliseconds
|
||||
* #pulse.min.frag = 128/48000 # 2.7ms
|
||||
* #pulse.min.frag = 256/48000 # 5.3ms
|
||||
* #pulse.default.frag = 96000/48000 # 2 seconds
|
||||
* #pulse.default.tlength = 96000/48000 # 2 seconds
|
||||
* #pulse.min.quantum = 128/48000 # 2.7ms
|
||||
* #pulse.min.quantum = 256/48000 # 5.3ms
|
||||
* #pulse.default.format = F32
|
||||
* #pulse.default.position = [ FL FR ]
|
||||
* #pulse.idle.timeout = 0
|
||||
|
|
@ -140,7 +140,7 @@
|
|||
* ### Playback buffering options
|
||||
*
|
||||
*\code{.unparsed}
|
||||
* pulse.min.req = 128/48000 # 2.7ms
|
||||
* pulse.min.req = 256/48000 # 5.3ms
|
||||
*\endcode
|
||||
*
|
||||
* The minimum amount of data to request for clients. The client requested
|
||||
|
|
@ -166,7 +166,7 @@
|
|||
* ### Record buffering options
|
||||
*
|
||||
*\code{.unparsed}
|
||||
* pulse.min.frag = 128/48000 # 2.7ms
|
||||
* pulse.min.frag = 256/48000 # 5.3ms
|
||||
*\endcode
|
||||
*
|
||||
* The minimum allowed size of the capture buffer before it is sent to a client.
|
||||
|
|
@ -184,7 +184,7 @@
|
|||
* ### Scheduling options
|
||||
*
|
||||
*\code{.unparsed}
|
||||
* pulse.min.quantum = 128/48000 # 2.7ms
|
||||
* pulse.min.quantum = 256/48000 # 5.3ms
|
||||
*\endcode
|
||||
*
|
||||
* The minimum quantum (buffer size in samples) to use for pulseaudio clients.
|
||||
|
|
|
|||
|
|
@ -57,12 +57,12 @@
|
|||
#include "volume.h"
|
||||
|
||||
#define DEFAULT_ALLOW_MODULE_LOADING "true"
|
||||
#define DEFAULT_MIN_REQ "128/48000"
|
||||
#define DEFAULT_MIN_REQ "256/48000"
|
||||
#define DEFAULT_DEFAULT_REQ "960/48000"
|
||||
#define DEFAULT_MIN_FRAG "128/48000"
|
||||
#define DEFAULT_MIN_FRAG "256/48000"
|
||||
#define DEFAULT_DEFAULT_FRAG "96000/48000"
|
||||
#define DEFAULT_DEFAULT_TLENGTH "96000/48000"
|
||||
#define DEFAULT_MIN_QUANTUM "128/48000"
|
||||
#define DEFAULT_MIN_QUANTUM "256/48000"
|
||||
#define DEFAULT_FORMAT "F32"
|
||||
#define DEFAULT_POSITION "[ FL FR ]"
|
||||
#define DEFAULT_IDLE_TIMEOUT "0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue