diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-06-08 23:54:24 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-06-08 23:54:24 +0000 |
commit | 9cb0b933e260008c6a03e24a4a149f726b8d86b2 (patch) | |
tree | b54651bafe32d1a817e779f884d1628176465bf0 /src/core.h | |
parent | b1c00dcd0ae51d201f772e7f5fa61acae436a2cf (diff) |
initial commit
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@3 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/core.h')
-rw-r--r-- | src/core.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/core.h b/src/core.h new file mode 100644 index 00000000..649c9dba --- /dev/null +++ b/src/core.h @@ -0,0 +1,21 @@ +#ifndef foocorehfoo +#define foocorehfoo + +#include "idxset.h" +#include "mainloop.h" + +struct core { + struct mainloop *mainloop; + + struct idxset *clients, *sinks, *sources, *output_streams, *input_streams, *modules; + + uint32_t default_source_index, default_sink_index; +}; + +struct core* core_new(struct mainloop *m); +void core_free(struct core*c); + +struct sink* core_get_default_sink(struct core *c); +struct source* core_get_default_source(struct core *c); + +#endif |