mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-12 13:30:10 -05:00
daemon-conf: enable memfd by default
memfd support was introduced in 9.0, but disabled by default. No issues have been reported - now is a good time to enable it by default.
This commit is contained in:
parent
c73bbee878
commit
b8113d861f
3 changed files with 3 additions and 2 deletions
|
|
@ -196,7 +196,7 @@ License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
<option>
|
<option>
|
||||||
<p><opt>enable-memfd=</opt>. Enable memfd shared memory. Takes
|
<p><opt>enable-memfd=</opt>. Enable memfd shared memory. Takes
|
||||||
a boolean argument, defaults to <opt>no</opt>.</p>
|
a boolean argument, defaults to <opt>yes</opt>.</p>
|
||||||
</option>
|
</option>
|
||||||
|
|
||||||
<option>
|
<option>
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ static const pa_daemon_conf default_conf = {
|
||||||
#endif
|
#endif
|
||||||
.no_cpu_limit = true,
|
.no_cpu_limit = true,
|
||||||
.disable_shm = false,
|
.disable_shm = false,
|
||||||
.disable_memfd = true,
|
.disable_memfd = false,
|
||||||
.lock_memory = false,
|
.lock_memory = false,
|
||||||
.deferred_volume = true,
|
.deferred_volume = true,
|
||||||
.default_n_fragments = 4,
|
.default_n_fragments = 4,
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ ifelse(@HAVE_DBUS@, 1, [dnl
|
||||||
; local-server-type = user
|
; local-server-type = user
|
||||||
])dnl
|
])dnl
|
||||||
; enable-shm = yes
|
; enable-shm = yes
|
||||||
|
; enable-memfd = yes
|
||||||
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
|
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
|
||||||
; lock-memory = no
|
; lock-memory = no
|
||||||
; cpu-limit = no
|
; cpu-limit = no
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue