summaryrefslogtreecommitdiffstats
path: root/src/core.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-07-15 20:12:21 +0000
committerLennart Poettering <lennart@poettering.net>2004-07-15 20:12:21 +0000
commitc36dadd2bdf01b26a3e5598def477b22a0b31e77 (patch)
treec4dc0222d2dcdc21060c7c1da50ce28d97d2a8e1 /src/core.c
parent1a6fea24f51dc7e1dc5c0683de6eb9dc9aa8d88b (diff)
remove global exported variables:
pa_memblock statistics pa_default_sample_spec git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@70 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index a1fe7d97..987bcc18 100644
--- a/src/core.c
+++ b/src/core.c
@@ -26,6 +26,10 @@ struct pa_core* pa_core_new(struct pa_mainloop_api *m) {
c->modules = NULL;
c->namereg = NULL;
+ c->default_sample_spec.format = PA_SAMPLE_S16NE;
+ c->default_sample_spec.rate = 44100;
+ c->default_sample_spec.channels = 2;
+
pa_check_for_sigpipe();
return c;