sink_input_set_volume_ramp: API alignment on new patchset
[staging/agl-audio-plugin.git] / switch.h
1 /*
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
6  *
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.
10  *
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.
15  *
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,
19  * MA 02110-1301 USA.
20  *
21  */
22 #ifndef paaglswitch
23 #define paaglswitch
24
25 #include "userdata.h"
26
27 bool agl_switch_setup_link (struct userdata *, agl_node *, agl_node *, bool);
28 bool agl_switch_teardown_link (struct userdata *, agl_node *, agl_node *);
29
30 /*pa_source *setup_device_input(struct userdata *, agl_node *);*/
31 /*pa_sink   *setup_device_output(struct userdata *, agl_node *);*/
32
33 bool set_port (struct userdata *, agl_node *);
34
35 #endif