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 foorouteriffoo
21 #define foorouteriffoo
26 typedef enum am_method {
27 audiomgr_unknown_method = 0,
29 audiomgr_register_domain,
30 audiomgr_domain_complete,
31 audiomgr_deregister_domain,
33 audiomgr_register_source,
34 audiomgr_deregister_source,
36 audiomgr_register_sink,
37 audiomgr_deregister_sink,
39 audiomgr_implicit_connection,
40 audiomgr_implicit_connections,
46 audiomgr_disconnect_ack,
48 audiomgr_setsinkvol_ack,
49 audiomgr_setsrcvol_ack,
50 audiomgr_sinkvoltick_ack,
51 audiomgr_srcvoltick_ack,
52 audiomgr_setsinkprop_ack,
59 pa_routerif *pa_routerif_init(struct userdata *, const char *,
60 const char *, const char *);
62 pa_routerif *pa_routerif_init(struct userdata *, const char *,
63 const char *, const char *);
67 void pa_routerif_done(struct userdata *);
70 bool pa_routerif_register_domain(struct userdata *,
72 bool pa_routerif_domain_complete(struct userdata *, uint16_t);
73 bool pa_routerif_unregister_domain(struct userdata *, uint16_t);
75 bool pa_routerif_register_node(struct userdata *, am_method,
77 bool pa_routerif_unregister_node(struct userdata *, am_method,
80 bool pa_routerif_acknowledge(struct userdata *, am_method, am_ack_data *);
82 bool pa_routerif_register_implicit_connection(struct userdata *,
84 bool pa_routerif_register_implicit_connections(struct userdata *, int,
87 #endif /* foorouteriffoo */
92 * indent-tabs-mode: nil