diff --git a/src/daemon/pipewire-pulse.conf.in b/src/daemon/pipewire-pulse.conf.in index 8d018606d..8c21e37df 100644 --- a/src/daemon/pipewire-pulse.conf.in +++ b/src/daemon/pipewire-pulse.conf.in @@ -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 ] diff --git a/src/modules/module-protocol-pulse.c b/src/modules/module-protocol-pulse.c index 4c82d97c0..22e6748ef 100644 --- a/src/modules/module-protocol-pulse.c +++ b/src/modules/module-protocol-pulse.c @@ -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. diff --git a/src/modules/module-protocol-pulse/pulse-server.c b/src/modules/module-protocol-pulse/pulse-server.c index 6c2ba43c6..3e77c0a89 100644 --- a/src/modules/module-protocol-pulse/pulse-server.c +++ b/src/modules/module-protocol-pulse/pulse-server.c @@ -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"