diff --git a/src/daemon/pipewire-pulse.conf.in b/src/daemon/pipewire-pulse.conf.in index 3b0700627..cce6b0fb5 100644 --- a/src/daemon/pipewire-pulse.conf.in +++ b/src/daemon/pipewire-pulse.conf.in @@ -95,12 +95,12 @@ pulse.properties = { # client.access = "restricted" # permissions for clients #} ] - #pulse.min.req = 256/48000 # 5ms + #pulse.min.req = 128/48000 # 2.6ms #pulse.default.req = 960/48000 # 20 milliseconds - #pulse.min.frag = 256/48000 # 5ms + #pulse.min.frag = 128/48000 # 2.6ms #pulse.default.frag = 96000/48000 # 2 seconds #pulse.default.tlength = 96000/48000 # 2 seconds - #pulse.min.quantum = 256/48000 # 5ms + #pulse.min.quantum = 128/48000 # 5ms #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 2fe8930a3..2dda6a1a8 100644 --- a/src/modules/module-protocol-pulse.c +++ b/src/modules/module-protocol-pulse.c @@ -59,12 +59,12 @@ * # client.access = "restricted" # permissions for clients * #} * ] - * #pulse.min.req = 256/48000 # 5ms + * #pulse.min.req = 128/48000 # 2.6ms * #pulse.default.req = 960/48000 # 20 milliseconds - * #pulse.min.frag = 256/48000 # 5ms + * #pulse.min.frag = 128/48000 # 2.6ms * #pulse.default.frag = 96000/48000 # 2 seconds * #pulse.default.tlength = 96000/48000 # 2 seconds - * #pulse.min.quantum = 256/48000 # 5ms + * #pulse.min.quantum = 128/48000 # 2.6ms * #pulse.default.format = F32 * #pulse.default.position = [ FL FR ] * # These overrides are only applied when running in a vm. @@ -110,7 +110,7 @@ * ### Playback buffering options * *\code{.unparsed} - * pulse.min.req = 256/48000 # 5ms + * pulse.min.req = 128/48000 # 2.6ms *\endcode * * The minimum amount of data to request for clients. The client requested @@ -136,7 +136,7 @@ * ### Record buffering options * *\code{.unparsed} - * pulse.min.frag = 256/48000 # 5ms + * pulse.min.frag = 128/48000 # 2.6ms *\endcode * * The minimum allowed size of the capture buffer before it is sent to a client. @@ -154,7 +154,7 @@ * ### Scheduling options * *\code{.unparsed} - * pulse.min.quantum = 256/48000 # 5ms + * pulse.min.quantum = 128/48000 # 2.6ms *\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 a2a9f6cdb..b029cf3fa 100644 --- a/src/modules/module-protocol-pulse/pulse-server.c +++ b/src/modules/module-protocol-pulse/pulse-server.c @@ -56,12 +56,12 @@ #include "utils.h" #include "volume.h" -#define DEFAULT_MIN_REQ "256/48000" +#define DEFAULT_MIN_REQ "128/48000" #define DEFAULT_DEFAULT_REQ "960/48000" -#define DEFAULT_MIN_FRAG "256/48000" +#define DEFAULT_MIN_FRAG "128/48000" #define DEFAULT_DEFAULT_FRAG "96000/48000" #define DEFAULT_DEFAULT_TLENGTH "96000/48000" -#define DEFAULT_MIN_QUANTUM "256/48000" +#define DEFAULT_MIN_QUANTUM "128/48000" #define DEFAULT_FORMAT "F32" #define DEFAULT_POSITION "[ FL FR ]" #define DEFAULT_IDLE_TIMEOUT "0"