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 fooloopbackfoo
21 #define fooloopbackfoo
23 #include <pulsecore/core.h>
24 #include <pulsecore/sink-input.h>
28 typedef struct pa_loopnode pa_loopnode;
30 typedef struct pa_loopback {
31 PA_LLIST_HEAD(pa_loopnode, loopnodes);
36 PA_LLIST_FIELDS(pa_loopnode);
37 uint32_t module_index;
38 uint32_t sink_input_index;
41 pa_loopback *pa_loopback_init(void);
43 void pa_loopback_done(pa_loopback *, pa_core *);
45 pa_loopnode *pa_loopback_create(pa_loopback *, pa_core *, uint32_t, uint32_t,
47 void pa_loopback_destroy(pa_loopback *, pa_core *, pa_loopnode *);
49 uint32_t pa_loopback_get_sink_index(pa_core *, pa_loopnode *);
51 int pa_loopback_print(pa_loopnode *, char *, int);
54 #endif /* fooloopbackfoo */
59 * indent-tabs-mode: nil