2004-06-08 23:54:24 +00:00
|
|
|
#ifndef foocorehfoo
|
|
|
|
|
#define foocorehfoo
|
|
|
|
|
|
|
|
|
|
#include "idxset.h"
|
2004-06-27 22:42:17 +00:00
|
|
|
#include "hashset.h"
|
2004-06-23 23:17:30 +00:00
|
|
|
#include "mainloop-api.h"
|
2004-06-08 23:54:24 +00:00
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
struct pa_core {
|
2004-06-23 23:17:30 +00:00
|
|
|
struct pa_mainloop_api *mainloop;
|
2004-06-08 23:54:24 +00:00
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
struct pa_idxset *clients, *sinks, *sources, *sink_inputs, *source_outputs, *modules;
|
2004-06-08 23:54:24 +00:00
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
struct pa_hashset *namereg;
|
2004-06-27 22:42:17 +00:00
|
|
|
|
2004-06-08 23:54:24 +00:00
|
|
|
uint32_t default_source_index, default_sink_index;
|
|
|
|
|
};
|
|
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
struct pa_core* pa_core_new(struct pa_mainloop_api *m);
|
|
|
|
|
void pa_core_free(struct pa_core*c);
|
2004-06-08 23:54:24 +00:00
|
|
|
|
|
|
|
|
#endif
|