2 * module-agl-audio -- PulseAudio module for providing audio routing support
3 * (forked from "module-murphy-ivi" - https://github.com/otcshare )
4 * Copyright (c) 2012, Intel Corporation.
5 * Copyright (c) 2016, IoT.bzh
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms and conditions of the GNU Lesser General Public License,
9 * version 2.1, as published by the Free Software Foundation.
11 * This program is distributed in the hope it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE.
14 * See the GNU Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin St - Fifth Floor, Boston,
28 /* ZONES ("driver", "passenger1"...) */
33 /* ROUTING GROUPS ("default" card, "phone" card...) */
35 agl_direction type; /* agl_input/agl_output */
37 const char *node_desc;
38 agl_rtgroup_accept_t accept;
39 agl_rtgroup_effect_t effect;
42 /* CLASS MAP (agl_phone="phone" card routing group...) */
44 agl_node_type class; /* agl_device/agl_stream */
46 agl_direction type; /* agl_input/agl_output */
50 /* TYPE MAP ("event"=agl_event, "music"=agl_player...) */
56 /* PRIORITY MAP (agl_event=5, agl_phone=4, [...] agl_player=1...) */
62 const char *agl_config_file_get_path (const char *, const char *, char *, size_t);
63 bool agl_config_parse_file (struct userdata *, const char *);
64 bool agl_config_dofile (struct userdata *, const char *);