mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-25 06:59:52 -05:00
maintain a global silence memblock cache
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2282 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
a0671aa8db
commit
7556ef5bfc
2 changed files with 4 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ pa_core* pa_core_new(pa_mainloop_api *m, int shared) {
|
|||
c->subscription_event_last = NULL;
|
||||
|
||||
c->mempool = pool;
|
||||
pa_silence_cache_init(&c->silence_cache);
|
||||
|
||||
c->quit_event = NULL;
|
||||
|
||||
|
|
@ -188,6 +189,7 @@ static void core_free(pa_object *o) {
|
|||
pa_xfree(c->default_source_name);
|
||||
pa_xfree(c->default_sink_name);
|
||||
|
||||
pa_silence_cache_done(&c->silence_cache);
|
||||
pa_mempool_free(c->mempool);
|
||||
|
||||
pa_property_cleanup(c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue