mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
add new "disable-shm" option to client.conf
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1284 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
206ac6f3ee
commit
d785b8fa87
3 changed files with 6 additions and 2 deletions
|
|
@ -128,7 +128,6 @@ pa_context *pa_context_new(pa_mainloop_api *mainloop, const char *name) {
|
|||
c->subscribe_callback = NULL;
|
||||
c->subscribe_userdata = NULL;
|
||||
|
||||
c->mempool = pa_mempool_new(1);
|
||||
c->is_local = -1;
|
||||
c->server_list = NULL;
|
||||
c->server = NULL;
|
||||
|
|
@ -149,6 +148,8 @@ pa_context *pa_context_new(pa_mainloop_api *mainloop, const char *name) {
|
|||
#endif
|
||||
pa_client_conf_env(c->conf);
|
||||
|
||||
c->mempool = pa_mempool_new(!c->conf->disable_shm);
|
||||
|
||||
return c;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue