mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
initial commit
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@3 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
b1c00dcd0a
commit
9cb0b933e2
47 changed files with 3425 additions and 0 deletions
21
src/core.h
Normal file
21
src/core.h
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue