murphyif: Free the connect timer when unloading
[profile/ivi/pulseaudio-module-murphy-ivi.git] / murphy / classify.h
1 /*
2  * module-murphy-ivi -- PulseAudio module for providing audio routing support
3  * Copyright (c) 2012, Intel Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms and conditions of the GNU Lesser General Public License,
7  * version 2.1, as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.
12  * See the GNU Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this program; if not, write to the
16  * Free Software Foundation, Inc., 51 Franklin St - Fifth Floor, Boston,
17  * MA 02110-1301 USA.
18  *
19  */
20 #ifndef foomirclassifyfoo
21 #define foomirclassifyfoo
22
23 #include <sys/types.h>
24
25 #include "userdata.h"
26
27 void pa_classify_node_by_card(mir_node *, pa_card *, pa_card_profile *,
28                               pa_device_port *);
29 bool pa_classify_node_by_property(mir_node *, pa_proplist *);
30 void pa_classify_guess_device_node_type_and_name(mir_node*, const char *,
31                                                  const char *);
32 mir_node_type pa_classify_guess_stream_node_type(struct userdata *,
33                                                  pa_proplist *,
34                                                  pa_nodeset_resdef **);
35 mir_node_type pa_classify_guess_application_class(mir_node *);
36
37 bool pa_classify_multiplex_stream(mir_node *);
38 bool pa_classify_ramping_stream(mir_node *);
39
40 const char *pa_classify_loopback_stream(mir_node *);
41
42 #endif  /* foomirclassifyfoo */
43
44
45 /*
46  * Local Variables:
47  * c-basic-offset: 4
48  * indent-tabs-mode: nil
49  * End:
50  *
51  */