mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-06-30 13:14:16 -04:00
pulse-server: add a pulse.zeroramp.gap property
Add a new pulse.zeroramp.gap property that will enable gap detection and fade-in/fade-out on gaps on playback streams. Make a rule to enable this on chrome, which does not do a cork/pause when a stream is paused but sends out silence. With the gap detection enabled, this allows the audioconvert to perform fades to avoid pops and clocks from sudden DC changes at the gaps. Fixes #4745
This commit is contained in:
parent
8971c488f3
commit
13c5e3c756
4 changed files with 26 additions and 1 deletions
|
|
@ -77,7 +77,8 @@
|
|||
* #pulse.default.position = [ FL FR ]
|
||||
* #pulse.idle.timeout = 0
|
||||
* #pulse.max-streams = 64
|
||||
* #pulse.max-sample-cache = 67108864
|
||||
* #pulse.max-sample-cache = 67108864
|
||||
* #pulse.zeroramp.gap = 0 # detect silence of N samples and fade-in/out
|
||||
* }
|
||||
*
|
||||
* pulse.properties.rules = [
|
||||
|
|
@ -262,6 +263,14 @@
|
|||
* The maximum total size in bytes of all sample cache entries. Default is
|
||||
* 67108864 (64MB).
|
||||
*
|
||||
*\code{.unparsed}
|
||||
* pulse.zeroramp.gap = 0
|
||||
*\endcode
|
||||
*
|
||||
* Enable silence detection of a playback stream and perform fade-in and fade-out on
|
||||
* silence boundaries to avoid loud pops. This is a workaround for when the application
|
||||
* sends silence instead of corking/uncorking to pause/resume the stream.
|
||||
*
|
||||
* ## Command execution
|
||||
*
|
||||
* As part of the server startup sequence, a set of commands can be executed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue