annotate lib/OpenAL/efx-creative.h @ 2221:c69013c186c7

for video
author Ritor1
date Tue, 18 Feb 2014 16:18:20 +0600
parents 992d2e6f907d
children
rev   line source
2134
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
1 #ifndef __efxcreative_h_
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
2 #define __efxcreative_h_
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
3
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
4 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
5 * efx-creative.h - Environmental Audio Extensions
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
6 * for OpenAL Effects Extension.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
7 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
8 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
9 #ifdef __cplusplus
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
10 extern "C" {
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
11 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
12
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
13
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
14 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
15 * Effect object definitions to be used with alEffect functions.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
16 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
17 * Effect parameter value definitions, ranges, and defaults
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
18 * appear farther down in this file.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
19 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
20
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
21 /* AL EAXReverb effect parameters. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
22 #define AL_EAXREVERB_DENSITY 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
23 #define AL_EAXREVERB_DIFFUSION 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
24 #define AL_EAXREVERB_GAIN 0x0003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
25 #define AL_EAXREVERB_GAINHF 0x0004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
26 #define AL_EAXREVERB_GAINLF 0x0005
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
27 #define AL_EAXREVERB_DECAY_TIME 0x0006
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
28 #define AL_EAXREVERB_DECAY_HFRATIO 0x0007
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
29 #define AL_EAXREVERB_DECAY_LFRATIO 0x0008
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
30 #define AL_EAXREVERB_REFLECTIONS_GAIN 0x0009
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
31 #define AL_EAXREVERB_REFLECTIONS_DELAY 0x000A
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
32 #define AL_EAXREVERB_REFLECTIONS_PAN 0x000B
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
33 #define AL_EAXREVERB_LATE_REVERB_GAIN 0x000C
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
34 #define AL_EAXREVERB_LATE_REVERB_DELAY 0x000D
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
35 #define AL_EAXREVERB_LATE_REVERB_PAN 0x000E
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
36 #define AL_EAXREVERB_ECHO_TIME 0x000F
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
37 #define AL_EAXREVERB_ECHO_DEPTH 0x0010
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
38 #define AL_EAXREVERB_MODULATION_TIME 0x0011
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
39 #define AL_EAXREVERB_MODULATION_DEPTH 0x0012
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
40 #define AL_EAXREVERB_AIR_ABSORPTION_GAINHF 0x0013
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
41 #define AL_EAXREVERB_HFREFERENCE 0x0014
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
42 #define AL_EAXREVERB_LFREFERENCE 0x0015
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
43 #define AL_EAXREVERB_ROOM_ROLLOFF_FACTOR 0x0016
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
44 #define AL_EAXREVERB_DECAY_HFLIMIT 0x0017
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
45
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
46 /* Effect type definitions to be used with AL_EFFECT_TYPE. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
47 #define AL_EFFECT_EAXREVERB 0x8000
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
48
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
49
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
50
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
51 /**********************************************************
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
52 * Effect parameter structures, value definitions, ranges and defaults.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
53 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
54
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
55 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
56 * AL reverb effect parameter ranges and defaults
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
57 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
58 #define AL_EAXREVERB_MIN_DENSITY 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
59 #define AL_EAXREVERB_MAX_DENSITY 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
60 #define AL_EAXREVERB_DEFAULT_DENSITY 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
61
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
62 #define AL_EAXREVERB_MIN_DIFFUSION 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
63 #define AL_EAXREVERB_MAX_DIFFUSION 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
64 #define AL_EAXREVERB_DEFAULT_DIFFUSION 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
65
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
66 #define AL_EAXREVERB_MIN_GAIN 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
67 #define AL_EAXREVERB_MAX_GAIN 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
68 #define AL_EAXREVERB_DEFAULT_GAIN 0.32f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
69
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
70 #define AL_EAXREVERB_MIN_GAINHF 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
71 #define AL_EAXREVERB_MAX_GAINHF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
72 #define AL_EAXREVERB_DEFAULT_GAINHF 0.89f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
73
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
74 #define AL_EAXREVERB_MIN_GAINLF 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
75 #define AL_EAXREVERB_MAX_GAINLF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
76 #define AL_EAXREVERB_DEFAULT_GAINLF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
77
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
78 #define AL_EAXREVERB_MIN_DECAY_TIME 0.1f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
79 #define AL_EAXREVERB_MAX_DECAY_TIME 20.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
80 #define AL_EAXREVERB_DEFAULT_DECAY_TIME 1.49f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
81
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
82 #define AL_EAXREVERB_MIN_DECAY_HFRATIO 0.1f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
83 #define AL_EAXREVERB_MAX_DECAY_HFRATIO 2.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
84 #define AL_EAXREVERB_DEFAULT_DECAY_HFRATIO 0.83f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
85
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
86 #define AL_EAXREVERB_MIN_DECAY_LFRATIO 0.1f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
87 #define AL_EAXREVERB_MAX_DECAY_LFRATIO 2.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
88 #define AL_EAXREVERB_DEFAULT_DECAY_LFRATIO 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
89
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
90 #define AL_EAXREVERB_MIN_REFLECTIONS_GAIN 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
91 #define AL_EAXREVERB_MAX_REFLECTIONS_GAIN 3.16f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
92 #define AL_EAXREVERB_DEFAULT_REFLECTIONS_GAIN 0.05f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
93
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
94 #define AL_EAXREVERB_MIN_REFLECTIONS_DELAY 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
95 #define AL_EAXREVERB_MAX_REFLECTIONS_DELAY 0.3f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
96 #define AL_EAXREVERB_DEFAULT_REFLECTIONS_DELAY 0.007f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
97
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
98 #define AL_EAXREVERB_DEFAULT_REFLECTIONS_PAN {0.0f, 0.0f, 0.0f}
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
99
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
100 #define AL_EAXREVERB_MIN_LATE_REVERB_GAIN 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
101 #define AL_EAXREVERB_MAX_LATE_REVERB_GAIN 10.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
102 #define AL_EAXREVERB_DEFAULT_LATE_REVERB_GAIN 1.26f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
103
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
104 #define AL_EAXREVERB_MIN_LATE_REVERB_DELAY 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
105 #define AL_EAXREVERB_MAX_LATE_REVERB_DELAY 0.1f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
106 #define AL_EAXREVERB_DEFAULT_LATE_REVERB_DELAY 0.011f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
107
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
108 #define AL_EAXREVERB_DEFAULT_LATE_REVERB_PAN {0.0f, 0.0f, 0.0f}
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
109
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
110 #define AL_EAXREVERB_MIN_ECHO_TIME 0.075f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
111 #define AL_EAXREVERB_MAX_ECHO_TIME 0.25f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
112 #define AL_EAXREVERB_DEFAULT_ECHO_TIME 0.25f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
113
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
114 #define AL_EAXREVERB_MIN_ECHO_DEPTH 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
115 #define AL_EAXREVERB_MAX_ECHO_DEPTH 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
116 #define AL_EAXREVERB_DEFAULT_ECHO_DEPTH 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
117
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
118 #define AL_EAXREVERB_MIN_MODULATION_TIME 0.04f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
119 #define AL_EAXREVERB_MAX_MODULATION_TIME 4.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
120 #define AL_EAXREVERB_DEFAULT_MODULATION_TIME 0.25f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
121
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
122 #define AL_EAXREVERB_MIN_MODULATION_DEPTH 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
123 #define AL_EAXREVERB_MAX_MODULATION_DEPTH 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
124 #define AL_EAXREVERB_DEFAULT_MODULATION_DEPTH 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
125
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
126 #define AL_EAXREVERB_MIN_AIR_ABSORPTION_GAINHF 0.892f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
127 #define AL_EAXREVERB_MAX_AIR_ABSORPTION_GAINHF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
128 #define AL_EAXREVERB_DEFAULT_AIR_ABSORPTION_GAINHF 0.994f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
129
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
130 #define AL_EAXREVERB_MIN_HFREFERENCE 1000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
131 #define AL_EAXREVERB_MAX_HFREFERENCE 20000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
132 #define AL_EAXREVERB_DEFAULT_HFREFERENCE 5000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
133
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
134 #define AL_EAXREVERB_MIN_LFREFERENCE 20.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
135 #define AL_EAXREVERB_MAX_LFREFERENCE 1000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
136 #define AL_EAXREVERB_DEFAULT_LFREFERENCE 250.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
137
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
138 #define AL_EAXREVERB_MIN_ROOM_ROLLOFF_FACTOR 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
139 #define AL_EAXREVERB_MAX_ROOM_ROLLOFF_FACTOR 10.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
140 #define AL_EAXREVERB_DEFAULT_ROOM_ROLLOFF_FACTOR 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
141
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
142 #define AL_EAXREVERB_MIN_DECAY_HFLIMIT AL_FALSE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
143 #define AL_EAXREVERB_MAX_DECAY_HFLIMIT AL_TRUE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
144 #define AL_EAXREVERB_DEFAULT_DECAY_HFLIMIT AL_TRUE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
145
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
146
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
147 #ifdef __cplusplus
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
148 } /* extern "C" */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
149 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
150
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
151 #endif /* __efxcreative_h_ */