router: fix for bluetooth disappearing causing assert in combine
[profile/ivi/pulseaudio-module-murphy-ivi.git] / murphy / tracker.h
1 #ifndef footrackerfoo
2 #define footrackerfoo
3
4 #include "userdata.h"
5
6
7 struct pa_card_hooks {
8     pa_hook_slot    *put;
9     pa_hook_slot    *unlink;
10     pa_hook_slot    *profchg;
11 };
12
13 struct pa_sink_hooks {
14     pa_hook_slot    *put;
15     pa_hook_slot    *unlink;
16     pa_hook_slot    *portchg;
17     pa_hook_slot    *portavail;
18 };
19
20 struct pa_source_hooks {
21     pa_hook_slot    *put;
22     pa_hook_slot    *unlink;
23     pa_hook_slot    *portchg;
24     pa_hook_slot    *portavail;
25 };
26
27 struct pa_sink_input_hooks {
28     pa_hook_slot    *neew;
29     pa_hook_slot    *put;
30     pa_hook_slot    *unlink;
31 };
32
33
34 struct pa_tracker {
35     pa_card_hooks       card;
36     pa_sink_hooks       sink;
37     pa_source_hooks     source;
38     pa_sink_input_hooks sink_input;
39 };
40
41 pa_tracker *pa_tracker_init(struct userdata *);
42 void pa_tracker_done(struct userdata *);
43
44 void pa_tracker_synchronize(struct userdata *);
45
46
47
48 #endif /* footrackerfoo */
49
50 /*
51  * Local Variables:
52  * c-basic-offset: 4
53  * indent-tabs-mode: nil
54  * End:
55  *
56  */