summaryrefslogtreecommitdiff
path: root/doc/man/en/man3/audio_prop.3
blob: cd9fb5e6500ae4bb00a0748f60f2ca2b5b3c42d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
.TH "Constants for the get/set properties functions." 3 "15 Oct 2001" "XINE, A Free Video Player Project - API reference" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Constants for the get/set properties functions. \- 
.SS "Defines"

.in +1c
.ti -1c
.RI "#define \fBAO_PROP_MIXER_VOL\fP   0"
.br
.ti -1c
.RI "#define \fBAO_PROP_PCM_VOL\fP   1"
.br
.ti -1c
.RI "#define \fBAO_PROP_MUTE_VOL\fP   2"
.br
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "int \fBxine_get_audio_property\fP (\fBxine_t\fP *self, int property)"
.br
.RI "\fIGet audio driver property.\fP"
.ti -1c
.RI "int \fBxine_set_audio_property\fP (\fBxine_t\fP *self, int property, int value)"
.br
.RI "\fISet audio driver property value.\fP"
.in -1c
.SH "DEFINE DOCUMENTATION"
.PP 
.SS "#define AO_PROP_MIXER_VOL   0"
.PP
Mixer volume property. 
.PP
\fBSee also: \fP
.in +1c
\fBxine_get_audio_property\fP(), \fBxine_set_audio_property\fP() 
.SS "#define AO_PROP_MUTE_VOL   2"
.PP
Pcm volume property. 
.PP
\fBSee also: \fP
.in +1c
\fBxine_get_audio_property\fP(), \fBxine_set_audio_property\fP() 
.SS "#define AO_PROP_PCM_VOL   1"
.PP
Pcm volume property. 
.PP
\fBSee also: \fP
.in +1c
\fBxine_get_audio_property\fP(), \fBxine_set_audio_property\fP() 
.SH "FUNCTION DOCUMENTATION"
.PP 
.SS "int xine_get_audio_property (\fBxine_t\fP * self, int property)"
.PP
Get audio driver property.
.PP
\fBParameters: \fP
.in +1c
.TP
\fB\fIself\fP\fP
Current xine engine configuration ( see \fBxine_init\fP() ) 
.TP
\fB\fIproperty\fP\fP
( see AO_PROP_* ) 
.PP
\fBReturns: \fP
.in +1c
value of property.
.PP
Get audio property ( AO_PROP_* ) value . 
.PP
\fBParameters: \fP
.in +1c
.TP
\fB\fIself\fP\fP
 
.TP
\fB\fIproperty\fP\fP
 
.SS "int xine_set_audio_property (\fBxine_t\fP * self, int property, int value)"
.PP
Set audio driver property value.
.PP
\fBParameters: \fP
.in +1c
.TP
\fB\fIself\fP\fP
Current xine engine configuration ( see \fBxine_init\fP() ) 
.TP
\fB\fIproperty\fP\fP
( see AO_PROP_* ) 
.TP
\fB\fIvalue\fP\fP
of property 
.PP
\fBReturns: \fP
.in +1c
value on success, otherwise ~value.
.PP
Set audio property value ( AO_PROP_* ). It will return value if operation is successfuly completed, and ~value on failure. 
.PP
\fBParameters: \fP
.in +1c
.TP
\fB\fIself\fP\fP
 
.TP
\fB\fIproperty\fP\fP
 
.TP
\fB\fIvalue\fP\fP