mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-22 08:56:52 -05:00
Make the shared memory segment size configurable
This is useful only on systems where memory overcommit is not available or disabled.
This commit is contained in:
parent
a84b72bf96
commit
79ad4e63f6
23 changed files with 99 additions and 37 deletions
|
|
@ -63,7 +63,7 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
pa_log_set_maximal_level(PA_LOG_DEBUG);
|
||||
|
||||
p = pa_mempool_new(0);
|
||||
p = pa_mempool_new(FALSE, 0);
|
||||
|
||||
silence.memblock = pa_memblock_new_fixed(p, (char*) "__", 2, 1);
|
||||
assert(silence.memblock);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue