PulseAudio
2.1
Main Page
Related Pages
Data Structures
Files
Examples
File List
Globals
ext-stream-restore.h
Go to the documentation of this file.
1
#ifndef foopulseextstreamrestorehfoo
2
#define foopulseextstreamrestorehfoo
3
4
/***
5
This file is part of PulseAudio.
6
7
Copyright 2008 Lennart Poettering
8
9
PulseAudio is free software; you can redistribute it and/or modify
10
it under the terms of the GNU Lesser General Public License as published
11
by the Free Software Foundation; either version 2.1 of the License,
12
or (at your option) any later version.
13
14
PulseAudio is distributed in the hope that it will be useful, but
15
WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
General Public License for more details.
18
19
You should have received a copy of the GNU Lesser General Public License
20
along with PulseAudio; if not, write to the Free Software
21
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
22
USA.
23
***/
24
25
#include <pulse/cdecl.h>
26
#include <
pulse/context.h
>
27
#include <
pulse/version.h
>
28
#include <
pulse/volume.h
>
29
#include <
pulse/channelmap.h
>
30
36
PA_C_DECL_BEGIN
37
40
typedef
struct
pa_ext_stream_restore_info
{
41
const
char
*
name
;
42
pa_channel_map
channel_map
;
43
pa_cvolume
volume
;
44
const
char
*
device
;
45
int
mute
;
46
}
pa_ext_stream_restore_info
;
47
49
typedef
void (*
pa_ext_stream_restore_test_cb_t
)(
50
pa_context
*c,
51
uint32_t version,
52
void
*userdata);
53
55
pa_operation
*
pa_ext_stream_restore_test
(
56
pa_context
*c,
57
pa_ext_stream_restore_test_cb_t
cb,
58
void
*userdata);
59
61
typedef
void (*
pa_ext_stream_restore_read_cb_t
)(
62
pa_context
*c,
63
const
pa_ext_stream_restore_info
*info,
64
int
eol,
65
void
*userdata);
66
68
pa_operation
*
pa_ext_stream_restore_read
(
69
pa_context
*c,
70
pa_ext_stream_restore_read_cb_t
cb,
71
void
*userdata);
72
74
pa_operation
*
pa_ext_stream_restore_write
(
75
pa_context
*c,
76
pa_update_mode_t
mode,
77
const
pa_ext_stream_restore_info
data[],
78
unsigned
n,
79
int
apply_immediately,
80
pa_context_success_cb_t
cb,
81
void
*userdata);
82
84
pa_operation
*
pa_ext_stream_restore_delete
(
85
pa_context
*c,
86
const
char
*
const
s[],
87
pa_context_success_cb_t
cb,
88
void
*userdata);
89
91
pa_operation
*
pa_ext_stream_restore_subscribe
(
92
pa_context
*c,
93
int
enable,
94
pa_context_success_cb_t
cb,
95
void
*userdata);
96
98
typedef
void (*
pa_ext_stream_restore_subscribe_cb_t
)(
99
pa_context
*c,
100
void
*userdata);
101
104
void
pa_ext_stream_restore_set_subscribe_cb
(
105
pa_context
*c,
106
pa_ext_stream_restore_subscribe_cb_t
cb,
107
void
*userdata);
108
109
PA_C_DECL_END
110
111
#endif
src
pulse
ext-stream-restore.h
Generated by
1.8.2