sample cache work

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@98 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-07-20 01:07:06 +00:00
parent 527faf01d0
commit bb0b105b83
17 changed files with 539 additions and 24 deletions

View file

@ -33,6 +33,7 @@
#include "source.h"
#include "namereg.h"
#include "util.h"
#include "scache.h"
struct pa_core* pa_core_new(struct pa_mainloop_api *m) {
struct pa_core* c;
@ -50,6 +51,8 @@ struct pa_core* pa_core_new(struct pa_mainloop_api *m) {
c->modules = NULL;
c->namereg = NULL;
c->scache_idxset = NULL;
c->scache_hashmap = NULL;
c->default_sample_spec.format = PA_SAMPLE_S16NE;
c->default_sample_spec.rate = 44100;
@ -82,6 +85,7 @@ void pa_core_free(struct pa_core *c) {
pa_idxset_free(c->sink_inputs, NULL, NULL);
pa_namereg_free(c);
pa_scache_free(c);
free(c);
};