summaryrefslogtreecommitdiffstats
path: root/src/daemon/daemon-conf.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-08-11 15:56:57 +0000
committerLennart Poettering <lennart@poettering.net>2007-08-11 15:56:57 +0000
commite2a10de756136110d7fdeac0d8543e452dd610ad (patch)
tree6e46767d86f0b36b4da56206f76fdce02a140f28 /src/daemon/daemon-conf.h
parentb44ce9e4e04ac41436fec9f57b509c49a78b617b (diff)
allow setting the default sample and fragment settings from the config file
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1630 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/daemon/daemon-conf.h')
-rw-r--r--src/daemon/daemon-conf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/daemon/daemon-conf.h b/src/daemon/daemon-conf.h
index 4843a610..cb717ece 100644
--- a/src/daemon/daemon-conf.h
+++ b/src/daemon/daemon-conf.h
@@ -26,6 +26,7 @@
***/
#include <pulsecore/log.h>
+#include <pulse/sample.h>
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
@@ -80,6 +81,8 @@ typedef struct pa_daemon_conf {
#endif
#endif
+ unsigned default_n_fragments, default_fragment_size_msec;
+ pa_sample_spec default_sample_spec;
} pa_daemon_conf;
/* Allocate a new structure and fill it with sane defaults */