pulse 4+ changes
[profile/ivi/pulseaudio-module-murphy-ivi.git] / murphy / stream-state.h
1 /*
2  * module-murphy-ivi -- PulseAudio module for providing audio routing support
3  * Copyright (c) 2012, Intel Corporation.
4  *
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.
8  *
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.
13  *
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,
17  * MA 02110-1301 USA.
18  *
19  */
20 #ifndef foostreamstatefoo
21 #define foostreamstatefoo
22
23 #include <sys/types.h>
24
25 #include "userdata.h"
26
27 #define PA_STREAM_BLOCK   1
28 #define PA_STREAM_RUN     0
29 #define PA_STREAM_KILL   -1
30
31
32 bool pa_stream_state_start_corked(struct userdata *,
33                                        pa_sink_input_new_data *,
34                                        pa_nodeset_resdef *);
35 void pa_stream_state_change(struct userdata *u, mir_node *, int);
36
37
38 #endif  /* foostreamstatefoo */
39
40
41 /*
42  * Local Variables:
43  * c-basic-offset: 4
44  * indent-tabs-mode: nil
45  * End:
46  *
47  */