1 /* automatically generated by rust-bindgen */ 2 3 #![allow(dead_code, 4 non_camel_case_types, 5 non_upper_case_globals, 6 non_snake_case)] 7 pub const AL_INVALID: ::std::os::raw::c_int = -1; 8 pub const AL_NONE: ::std::os::raw::c_int = 0; 9 pub const AL_FALSE: ::std::os::raw::c_char = 0; 10 pub const AL_TRUE: ::std::os::raw::c_char = 1; 11 pub const AL_SOURCE_RELATIVE: ::std::os::raw::c_int = 514; 12 pub const AL_CONE_INNER_ANGLE: ::std::os::raw::c_int = 4097; 13 pub const AL_CONE_OUTER_ANGLE: ::std::os::raw::c_int = 4098; 14 pub const AL_PITCH: ::std::os::raw::c_int = 4099; 15 pub const AL_POSITION: ::std::os::raw::c_int = 4100; 16 pub const AL_DIRECTION: ::std::os::raw::c_int = 4101; 17 pub const AL_VELOCITY: ::std::os::raw::c_int = 4102; 18 pub const AL_LOOPING: ::std::os::raw::c_int = 4103; 19 pub const AL_BUFFER: ::std::os::raw::c_int = 4105; 20 pub const AL_GAIN: ::std::os::raw::c_int = 4106; 21 pub const AL_MIN_GAIN: ::std::os::raw::c_int = 4109; 22 pub const AL_MAX_GAIN: ::std::os::raw::c_int = 4110; 23 pub const AL_ORIENTATION: ::std::os::raw::c_int = 4111; 24 pub const AL_SOURCE_STATE: ::std::os::raw::c_int = 4112; 25 pub const AL_INITIAL: ::std::os::raw::c_int = 4113; 26 pub const AL_PLAYING: ::std::os::raw::c_int = 4114; 27 pub const AL_PAUSED: ::std::os::raw::c_int = 4115; 28 pub const AL_STOPPED: ::std::os::raw::c_int = 4116; 29 pub const AL_BUFFERS_QUEUED: ::std::os::raw::c_int = 4117; 30 pub const AL_BUFFERS_PROCESSED: ::std::os::raw::c_int = 4118; 31 pub const AL_REFERENCE_DISTANCE: ::std::os::raw::c_int = 4128; 32 pub const AL_ROLLOFF_FACTOR: ::std::os::raw::c_int = 4129; 33 pub const AL_CONE_OUTER_GAIN: ::std::os::raw::c_int = 4130; 34 pub const AL_MAX_DISTANCE: ::std::os::raw::c_int = 4131; 35 pub const AL_SEC_OFFSET: ::std::os::raw::c_int = 4132; 36 pub const AL_SAMPLE_OFFSET: ::std::os::raw::c_int = 4133; 37 pub const AL_BYTE_OFFSET: ::std::os::raw::c_int = 4134; 38 pub const AL_SOURCE_TYPE: ::std::os::raw::c_int = 4135; 39 pub const AL_STATIC: ::std::os::raw::c_int = 4136; 40 pub const AL_STREAMING: ::std::os::raw::c_int = 4137; 41 pub const AL_UNDETERMINED: ::std::os::raw::c_int = 4144; 42 pub const AL_FORMAT_MONO8: ::std::os::raw::c_int = 4352; 43 pub const AL_FORMAT_MONO16: ::std::os::raw::c_int = 4353; 44 pub const AL_FORMAT_STEREO8: ::std::os::raw::c_int = 4354; 45 pub const AL_FORMAT_STEREO16: ::std::os::raw::c_int = 4355; 46 pub const AL_FREQUENCY: ::std::os::raw::c_int = 8193; 47 pub const AL_BITS: ::std::os::raw::c_int = 8194; 48 pub const AL_CHANNELS: ::std::os::raw::c_int = 8195; 49 pub const AL_SIZE: ::std::os::raw::c_int = 8196; 50 pub const AL_UNUSED: ::std::os::raw::c_int = 8208; 51 pub const AL_PENDING: ::std::os::raw::c_int = 8209; 52 pub const AL_PROCESSED: ::std::os::raw::c_int = 8210; 53 pub const AL_NO_ERROR: ::std::os::raw::c_int = 0; 54 pub const AL_INVALID_NAME: ::std::os::raw::c_int = 40961; 55 pub const AL_INVALID_ENUM: ::std::os::raw::c_int = 40962; 56 pub const AL_INVALID_VALUE: ::std::os::raw::c_int = 40963; 57 pub const AL_INVALID_OPERATION: ::std::os::raw::c_int = 40964; 58 pub const AL_OUT_OF_MEMORY: ::std::os::raw::c_int = 40965; 59 pub const AL_VENDOR: ::std::os::raw::c_int = 45057; 60 pub const AL_VERSION: ::std::os::raw::c_int = 45058; 61 pub const AL_RENDERER: ::std::os::raw::c_int = 45059; 62 pub const AL_EXTENSIONS: ::std::os::raw::c_int = 45060; 63 pub const AL_DOPPLER_FACTOR: ::std::os::raw::c_int = 49152; 64 pub const AL_DOPPLER_VELOCITY: ::std::os::raw::c_int = 49153; 65 pub const AL_SPEED_OF_SOUND: ::std::os::raw::c_int = 49155; 66 pub const AL_DISTANCE_MODEL: ::std::os::raw::c_int = 53248; 67 pub const AL_INVERSE_DISTANCE: ::std::os::raw::c_int = 53249; 68 pub const AL_INVERSE_DISTANCE_CLAMPED: ::std::os::raw::c_int = 53250; 69 pub const AL_LINEAR_DISTANCE: ::std::os::raw::c_int = 53251; 70 pub const AL_LINEAR_DISTANCE_CLAMPED: ::std::os::raw::c_int = 53252; 71 pub const AL_EXPONENT_DISTANCE: ::std::os::raw::c_int = 53253; 72 pub const AL_EXPONENT_DISTANCE_CLAMPED: ::std::os::raw::c_int = 53254; 73 pub type ALboolean = ::std::os::raw::c_char; 74 pub type ALchar = ::std::os::raw::c_char; 75 pub type ALbyte = ::std::os::raw::c_char; 76 pub type ALubyte = ::std::os::raw::c_uchar; 77 pub type ALshort = ::std::os::raw::c_short; 78 pub type ALushort = ::std::os::raw::c_ushort; 79 pub type ALint = ::std::os::raw::c_int; 80 pub type ALuint = ::std::os::raw::c_uint; 81 pub type ALsizei = ::std::os::raw::c_int; 82 pub type ALenum = ::std::os::raw::c_int; 83 pub type ALfloat = f32; 84 pub type ALdouble = f64; 85 pub type ALvoid = ::std::os::raw::c_void; 86 pub type LPALENABLE = 87 ::std::option::Option<extern "C" fn(capability: ALenum)>; 88 pub type LPALDISABLE = 89 ::std::option::Option<extern "C" fn(capability: ALenum)>; 90 pub type LPALISENABLED = 91 ::std::option::Option<extern "C" fn(capability: ALenum) -> ALboolean>; 92 pub type LPALGETSTRING = 93 ::std::option::Option<extern "C" fn(param: ALenum) -> *const ALchar>; 94 pub type LPALGETBOOLEANV = 95 ::std::option::Option<unsafe extern "C" fn(param: ALenum, 96 values: *mut ALboolean)>; 97 pub type LPALGETINTEGERV = 98 ::std::option::Option<unsafe extern "C" fn(param: ALenum, 99 values: *mut ALint)>; 100 pub type LPALGETFLOATV = 101 ::std::option::Option<unsafe extern "C" fn(param: ALenum, 102 values: *mut ALfloat)>; 103 pub type LPALGETDOUBLEV = 104 ::std::option::Option<unsafe extern "C" fn(param: ALenum, 105 values: *mut ALdouble)>; 106 pub type LPALGETBOOLEAN = 107 ::std::option::Option<extern "C" fn(param: ALenum) -> ALboolean>; 108 pub type LPALGETINTEGER = 109 ::std::option::Option<extern "C" fn(param: ALenum) -> ALint>; 110 pub type LPALGETFLOAT = 111 ::std::option::Option<extern "C" fn(param: ALenum) -> ALfloat>; 112 pub type LPALGETDOUBLE = 113 ::std::option::Option<extern "C" fn(param: ALenum) -> ALdouble>; 114 pub type LPALGETERROR = ::std::option::Option<extern "C" fn() -> ALenum>; 115 pub type LPALISEXTENSIONPRESENT = 116 ::std::option::Option<unsafe extern "C" fn(extname: *const ALchar) 117 -> ALboolean>; 118 pub type LPALGETPROCADDRESS = 119 ::std::option::Option<unsafe extern "C" fn(fname: *const ALchar) 120 -> *mut ::std::os::raw::c_void>; 121 pub type LPALGETENUMVALUE = 122 ::std::option::Option<unsafe extern "C" fn(ename: *const ALchar) 123 -> ALenum>; 124 pub type LPALLISTENERF = 125 ::std::option::Option<extern "C" fn(param: ALenum, value: ALfloat)>; 126 pub type LPALLISTENER3F = 127 ::std::option::Option<extern "C" fn(param: ALenum, value1: ALfloat, 128 value2: ALfloat, value3: ALfloat)>; 129 pub type LPALLISTENERFV = 130 ::std::option::Option<unsafe extern "C" fn(param: ALenum, 131 values: *const ALfloat)>; 132 pub type LPALLISTENERI = 133 ::std::option::Option<extern "C" fn(param: ALenum, value: ALint)>; 134 pub type LPALLISTENER3I = 135 ::std::option::Option<extern "C" fn(param: ALenum, value1: ALint, 136 value2: ALint, value3: ALint)>; 137 pub type LPALLISTENERIV = 138 ::std::option::Option<unsafe extern "C" fn(param: ALenum, 139 values: *const ALint)>; 140 pub type LPALGETLISTENERF = 141 ::std::option::Option<unsafe extern "C" fn(param: ALenum, 142 value: *mut ALfloat)>; 143 pub type LPALGETLISTENER3F = 144 ::std::option::Option<unsafe extern "C" fn(param: ALenum, 145 value1: *mut ALfloat, 146 value2: *mut ALfloat, 147 value3: *mut ALfloat)>; 148 pub type LPALGETLISTENERFV = 149 ::std::option::Option<unsafe extern "C" fn(param: ALenum, 150 values: *mut ALfloat)>; 151 pub type LPALGETLISTENERI = 152 ::std::option::Option<unsafe extern "C" fn(param: ALenum, 153 value: *mut ALint)>; 154 pub type LPALGETLISTENER3I = 155 ::std::option::Option<unsafe extern "C" fn(param: ALenum, 156 value1: *mut ALint, 157 value2: *mut ALint, 158 value3: *mut ALint)>; 159 pub type LPALGETLISTENERIV = 160 ::std::option::Option<unsafe extern "C" fn(param: ALenum, 161 values: *mut ALint)>; 162 pub type LPALGENSOURCES = 163 ::std::option::Option<unsafe extern "C" fn(n: ALsizei, 164 sources: *mut ALuint)>; 165 pub type LPALDELETESOURCES = 166 ::std::option::Option<unsafe extern "C" fn(n: ALsizei, 167 sources: *const ALuint)>; 168 pub type LPALISSOURCE = 169 ::std::option::Option<extern "C" fn(source: ALuint) -> ALboolean>; 170 pub type LPALSOURCEF = 171 ::std::option::Option<extern "C" fn(source: ALuint, param: ALenum, 172 value: ALfloat)>; 173 pub type LPALSOURCE3F = 174 ::std::option::Option<extern "C" fn(source: ALuint, param: ALenum, 175 value1: ALfloat, value2: ALfloat, 176 value3: ALfloat)>; 177 pub type LPALSOURCEFV = 178 ::std::option::Option<unsafe extern "C" fn(source: ALuint, param: ALenum, 179 values: *const ALfloat)>; 180 pub type LPALSOURCEI = 181 ::std::option::Option<extern "C" fn(source: ALuint, param: ALenum, 182 value: ALint)>; 183 pub type LPALSOURCE3I = 184 ::std::option::Option<extern "C" fn(source: ALuint, param: ALenum, 185 value1: ALint, value2: ALint, 186 value3: ALint)>; 187 pub type LPALSOURCEIV = 188 ::std::option::Option<unsafe extern "C" fn(source: ALuint, param: ALenum, 189 values: *const ALint)>; 190 pub type LPALGETSOURCEF = 191 ::std::option::Option<unsafe extern "C" fn(source: ALuint, param: ALenum, 192 value: *mut ALfloat)>; 193 pub type LPALGETSOURCE3F = 194 ::std::option::Option<unsafe extern "C" fn(source: ALuint, param: ALenum, 195 value1: *mut ALfloat, 196 value2: *mut ALfloat, 197 value3: *mut ALfloat)>; 198 pub type LPALGETSOURCEFV = 199 ::std::option::Option<unsafe extern "C" fn(source: ALuint, param: ALenum, 200 values: *mut ALfloat)>; 201 pub type LPALGETSOURCEI = 202 ::std::option::Option<unsafe extern "C" fn(source: ALuint, param: ALenum, 203 value: *mut ALint)>; 204 pub type LPALGETSOURCE3I = 205 ::std::option::Option<unsafe extern "C" fn(source: ALuint, param: ALenum, 206 value1: *mut ALint, 207 value2: *mut ALint, 208 value3: *mut ALint)>; 209 pub type LPALGETSOURCEIV = 210 ::std::option::Option<unsafe extern "C" fn(source: ALuint, param: ALenum, 211 values: *mut ALint)>; 212 pub type LPALSOURCEPLAYV = 213 ::std::option::Option<unsafe extern "C" fn(n: ALsizei, 214 sources: *const ALuint)>; 215 pub type LPALSOURCESTOPV = 216 ::std::option::Option<unsafe extern "C" fn(n: ALsizei, 217 sources: *const ALuint)>; 218 pub type LPALSOURCEREWINDV = 219 ::std::option::Option<unsafe extern "C" fn(n: ALsizei, 220 sources: *const ALuint)>; 221 pub type LPALSOURCEPAUSEV = 222 ::std::option::Option<unsafe extern "C" fn(n: ALsizei, 223 sources: *const ALuint)>; 224 pub type LPALSOURCEPLAY = 225 ::std::option::Option<extern "C" fn(source: ALuint)>; 226 pub type LPALSOURCESTOP = 227 ::std::option::Option<extern "C" fn(source: ALuint)>; 228 pub type LPALSOURCEREWIND = 229 ::std::option::Option<extern "C" fn(source: ALuint)>; 230 pub type LPALSOURCEPAUSE = 231 ::std::option::Option<extern "C" fn(source: ALuint)>; 232 pub type LPALSOURCEQUEUEBUFFERS = 233 ::std::option::Option<unsafe extern "C" fn(source: ALuint, nb: ALsizei, 234 buffers: *const ALuint)>; 235 pub type LPALSOURCEUNQUEUEBUFFERS = 236 ::std::option::Option<unsafe extern "C" fn(source: ALuint, nb: ALsizei, 237 buffers: *mut ALuint)>; 238 pub type LPALGENBUFFERS = 239 ::std::option::Option<unsafe extern "C" fn(n: ALsizei, 240 buffers: *mut ALuint)>; 241 pub type LPALDELETEBUFFERS = 242 ::std::option::Option<unsafe extern "C" fn(n: ALsizei, 243 buffers: *const ALuint)>; 244 pub type LPALISBUFFER = 245 ::std::option::Option<extern "C" fn(buffer: ALuint) -> ALboolean>; 246 pub type LPALBUFFERDATA = 247 ::std::option::Option<unsafe extern "C" fn(buffer: ALuint, format: ALenum, 248 data: *const ALvoid, 249 size: ALsizei, freq: ALsizei)>; 250 pub type LPALBUFFERF = 251 ::std::option::Option<extern "C" fn(buffer: ALuint, param: ALenum, 252 value: ALfloat)>; 253 pub type LPALBUFFER3F = 254 ::std::option::Option<extern "C" fn(buffer: ALuint, param: ALenum, 255 value1: ALfloat, value2: ALfloat, 256 value3: ALfloat)>; 257 pub type LPALBUFFERFV = 258 ::std::option::Option<unsafe extern "C" fn(buffer: ALuint, param: ALenum, 259 values: *const ALfloat)>; 260 pub type LPALBUFFERI = 261 ::std::option::Option<extern "C" fn(buffer: ALuint, param: ALenum, 262 value: ALint)>; 263 pub type LPALBUFFER3I = 264 ::std::option::Option<extern "C" fn(buffer: ALuint, param: ALenum, 265 value1: ALint, value2: ALint, 266 value3: ALint)>; 267 pub type LPALBUFFERIV = 268 ::std::option::Option<unsafe extern "C" fn(buffer: ALuint, param: ALenum, 269 values: *const ALint)>; 270 pub type LPALGETBUFFERF = 271 ::std::option::Option<unsafe extern "C" fn(buffer: ALuint, param: ALenum, 272 value: *mut ALfloat)>; 273 pub type LPALGETBUFFER3F = 274 ::std::option::Option<unsafe extern "C" fn(buffer: ALuint, param: ALenum, 275 value1: *mut ALfloat, 276 value2: *mut ALfloat, 277 value3: *mut ALfloat)>; 278 pub type LPALGETBUFFERFV = 279 ::std::option::Option<unsafe extern "C" fn(buffer: ALuint, param: ALenum, 280 values: *mut ALfloat)>; 281 pub type LPALGETBUFFERI = 282 ::std::option::Option<unsafe extern "C" fn(buffer: ALuint, param: ALenum, 283 value: *mut ALint)>; 284 pub type LPALGETBUFFER3I = 285 ::std::option::Option<unsafe extern "C" fn(buffer: ALuint, param: ALenum, 286 value1: *mut ALint, 287 value2: *mut ALint, 288 value3: *mut ALint)>; 289 pub type LPALGETBUFFERIV = 290 ::std::option::Option<unsafe extern "C" fn(buffer: ALuint, param: ALenum, 291 values: *mut ALint)>; 292 pub type LPALDOPPLERFACTOR = 293 ::std::option::Option<extern "C" fn(value: ALfloat)>; 294 pub type LPALDOPPLERVELOCITY = 295 ::std::option::Option<extern "C" fn(value: ALfloat)>; 296 pub type LPALSPEEDOFSOUND = 297 ::std::option::Option<extern "C" fn(value: ALfloat)>; 298 pub type LPALDISTANCEMODEL = 299 ::std::option::Option<extern "C" fn(distanceModel: ALenum)>; 300