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 foomurphyiffoo
21 #define foomurphyiffoo
26 #include <murphy/domain-control/client.h>
28 typedef void mrp_domctl_value_t;
34 typedef void (*pa_murphyif_watch_cb)(struct userdata *u, const char *,
35 int, mrp_domctl_value_t **);
37 pa_murphyif *pa_murphyif_init(struct userdata *, const char *, const char *);
38 void pa_murphyif_done(struct userdata *);
40 void pa_murphyif_add_table(struct userdata *, const char *, const char *,
42 int pa_murphyif_add_watch(struct userdata *, const char *, const char *,
44 void pa_murphyif_setup_domainctl(struct userdata *, pa_murphyif_watch_cb);
46 void pa_murphyif_add_audio_resource(struct userdata *, mir_direction,
48 void pa_murphyif_add_audio_attribute(struct userdata *, const char *,
49 const char *, mqi_data_type_t, ... );
50 void pa_murphyif_create_resource_set(struct userdata *, mir_node *,
52 void pa_murphyif_destroy_resource_set(struct userdata *, mir_node *);
54 int pa_murphyif_add_node(struct userdata *, mir_node *);
55 void pa_murphyif_delete_node(struct userdata *, mir_node *);
58 #endif /* foomurphyiffoo */
63 * indent-tabs-mode: nil