/
userdata.h
66 lines (58 loc) · 2.38 KB
/
userdata.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#ifndef foouserdatafoo
#define foouserdatafoo
#include <pulsecore/core.h>
#include <meego/shared-data.h>
#define PA_POLICY_DEFAULT_GROUP_NAME "othermedia"
#define PA_POLICY_DEFAULT_GROUP_PROPERTIES "media.role = x-maemo"
#define PA_PROP_APPLICATION_PROCESS_ARGS "application.process.args"
#define PA_PROP_APPLICATION_PROCESS_ARG0 "application.process.arg0"
#define PA_PROP_POLICY_GROUP "policy.group"
#define PA_PROP_POLICY_STREAM_FLAGS "policy.stream_flags"
#define PA_PROP_POLICY_DEVTYPELIST "policy.device.typelist"
#define PA_PROP_POLICY_CARDTYPELIST "policy.card.typelist"
#define PA_PROP_MAEMO_AUDIO_MODE "x-maemo.mode"
#define PA_PROP_MAEMO_ACCESSORY_HWID "x-maemo.accessory_hwid"
struct pa_index_hash;
struct pa_client_evsubscr;
struct pa_sink_evsubscr;
struct pa_source_evsubscr;
struct pa_sinp_evsubscr;
struct pa_sout_evsubscr;
struct pa_card_evsubscr;
struct pa_module_evsubscr;
struct pa_policy_groupset;
struct pa_classify;
struct pa_policy_context;
struct pa_policy_dbusif;
struct pa_policy_variable;
struct pa_sink_ext_data;
struct userdata {
pa_core *core;
pa_module *module;
struct pa_null_sink *nullsink;
struct pa_null_source *nullsource;
struct pa_index_hash *hsnk; /* sink index hash */
struct pa_index_hash *hsi; /* sink input index hash */
struct pa_client_evsubscr *scl; /* client event susbscription */
struct pa_sink_evsubscr *ssnk; /* sink event subscription */
struct pa_source_evsubscr *ssrc; /* source event subscription */
struct pa_sinp_evsubscr *ssi; /* sink input event susbscription */
struct pa_sout_evsubscr *sso; /* source output event susbscription*/
struct pa_card_evsubscr *scrd; /* card event subscription */
struct pa_module_evsubscr *smod; /* module event subscription */
struct pa_policy_groupset *groups; /* policy groups */
struct pa_classify *classify; /* rules for classification */
struct pa_policy_context *context; /* for processing context variables */
struct pa_policy_dbusif *dbusif;
struct pa_policy_variable *vars;
struct pa_sink_ext_data *sinkext;
pa_shared_data *shared; /* for forwarding context etc properties */
};
#endif
/*
* Local Variables:
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*
*/