]> code.delx.au - pulseaudio/blobdiff - polyp/core.h
Comment some more files
[pulseaudio] / polyp / core.h
index 09e58b467112669ed5e980356d9f4f1b0fca2ebc..6c6070b1e0a1c730fd85bfc46f045d2d9238eff8 100644 (file)
 #include "memblock.h"
 #include "resampler.h"
 
+/* The core structure of polypaudio. Every polypaudio daemon contains
+ * exactly one of these. It is used for storing kind of global
+ * variables for the daemon. */
+
 struct pa_core {
     struct pa_mainloop_api *mainloop;
 
+    /* idxset of all kinds of entities */
     struct pa_idxset *clients, *sinks, *sources, *sink_inputs, *source_outputs, *modules, *scache, *autoload_idxset;
 
+    /* Some hashmaps for all sorts of entities */
     struct pa_hashmap *namereg, *autoload_hashmap, *properties;
 
+    /* The name of the default sink/source */
     char *default_source_name, *default_sink_name;
 
     struct pa_sample_spec default_sample_spec;
@@ -60,6 +67,8 @@ struct pa_core {
 
 struct pa_core* pa_core_new(struct pa_mainloop_api *m);
 void pa_core_free(struct pa_core*c);
+
+/* Check whether noone is connected to this core */
 void pa_core_check_quit(struct pa_core *c);
 
 #endif