Lines Matching refs:core
36 #include <pulsecore/core-util.h>
165 pa_core *core;
187 if (u->core->state == PA_CORE_SHUTDOWN)
493 n = pa_idxset_size(u->core->sinks);
494 k = pa_idxset_size(u->core->sources);
846 PA_IDXSET_FOREACH(sink, u->core->sinks, idx) {
862 PA_IDXSET_FOREACH(source, u->core->sources, idx)
927 PA_IDXSET_FOREACH(sink, u->core->sinks, idx)
932 PA_IDXSET_FOREACH(source, u->core->sources, idx)
954 sink = pa_namereg_get(u->core, path + sizeof(OBJECT_SINKS), PA_NAMEREG_SINK);
956 source = pa_namereg_get(u->core, path + sizeof(OBJECT_SOURCES), PA_NAMEREG_SOURCE);
1054 u->core = m->core;
1056 u->http = pa_http_protocol_get(u->core);
1063 u->source_new_slot = pa_hook_connect(&m->core->hooks[PA_CORE_HOOK_SOURCE_PUT], PA_HOOK_LATE, (pa_hook_cb_t) source_new_or_unlink_cb, u);
1064 u->source_unlink_slot = pa_hook_connect(&m->core->hooks[PA_CORE_HOOK_SOURCE_UNLINK], PA_HOOK_LATE, (pa_hook_cb_t) source_new_or_unlink_cb, u);
1066 if (!(u->bus = pa_dbus_bus_get(m->core, DBUS_BUS_SESSION, &error))) {