2 * module-murphy-ivi -- PulseAudio module for providing audio routing support
3 * Copyright (c) 2012, Intel Corporation.
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.
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.
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,
20 #ifndef foouserdatafoo
21 #define foouserdatafoo
24 #include <pulsecore/core.h>
26 #include "multiplex.h"
29 #define DIM(a) (sizeof(a)/sizeof((a)[0]))
31 #define PA_PROP_ROUTING_CLASS_NAME "routing.class.name"
32 #define PA_PROP_ROUTING_CLASS_ID "routing.class.id"
33 #define PA_PROP_ROUTING_METHOD "routing.method"
34 #define PA_PROP_ROUTING_TABLE "routing.table"
36 #define PA_ROUTING_DEFAULT "default"
37 #define PA_ROUTING_EXPLICIT "explicit"
39 typedef struct pa_card pa_card;
40 typedef struct pa_sink pa_sink;
42 typedef struct pa_null_sink pa_null_sink;
43 typedef struct pa_tracker pa_tracker;
44 typedef struct pa_audiomgr pa_audiomgr;
45 typedef struct pa_routerif pa_routerif;
46 typedef struct pa_discover pa_discover;
47 typedef struct pa_router pa_router;
48 typedef struct pa_constrain pa_constrain;
49 typedef struct pa_mir_volume pa_mir_volume;
50 typedef struct pa_mir_config pa_mir_config;
51 typedef struct pa_nodeset pa_nodeset;
52 typedef struct pa_node_card pa_node_card;
53 typedef struct pa_card_hooks pa_card_hooks;
54 typedef struct pa_port_hooks pa_port_hooks;
55 typedef struct pa_sink_hooks pa_sink_hooks;
56 typedef struct pa_source_hooks pa_source_hooks;
57 typedef struct pa_sink_input_hooks pa_sink_input_hooks;
59 typedef enum mir_direction mir_direction;
60 typedef enum mir_implement mir_implement;
61 typedef enum mir_location mir_location;
62 typedef enum mir_node_type mir_node_type;
63 typedef enum mir_privacy mir_privacy;
64 typedef struct mir_node mir_node;
65 typedef struct mir_rtgroup mir_rtgroup;
66 typedef struct mir_rtentry mir_rtentry;
67 typedef struct mir_connection mir_connection;
68 typedef struct mir_constr_link mir_constr_link;
69 typedef struct mir_constr_def mir_constr_def;
70 typedef struct mir_vlim mir_vlim;
71 typedef struct mir_volume_suppress_arg mir_volume_suppress_arg;
73 typedef enum am_method am_method;
74 typedef struct am_domainreg_data am_domainreg_data;
75 typedef struct am_nodereg_data am_nodereg_data;
76 typedef struct am_nodeunreg_data am_nodeunreg_data;
77 typedef struct am_ack_data am_ack_data;
78 typedef struct am_connect_data am_connect_data;
83 char *profile; /**< During profile change it contains the new profile
84 name. Otherwise it is NULL. When sink tracking
85 hooks called the card's active_profile still
86 points to the old profile */
93 pa_null_sink *nullsink;
95 pa_audiomgr *audiomgr;
96 pa_routerif *routerif;
97 pa_discover *discover;
100 pa_constrain *constrain;
101 pa_multiplex *multiplex;
102 pa_loopback *loopback;
103 pa_mir_volume *volume;
104 pa_mir_config *config;
113 * indent-tabs-mode: nil