al_sys/
alc.rs

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)]
7pub const ALC_INVALID: ::std::os::raw::c_int = 0;
8pub const ALC_VERSION_0_1: ::std::os::raw::c_int = 1;
9pub const ALC_FALSE: ::std::os::raw::c_char = 0;
10pub const ALC_TRUE: ::std::os::raw::c_char = 1;
11pub const ALC_FREQUENCY: ::std::os::raw::c_int = 4103;
12pub const ALC_REFRESH: ::std::os::raw::c_int = 4104;
13pub const ALC_SYNC: ::std::os::raw::c_int = 4105;
14pub const ALC_MONO_SOURCES: ::std::os::raw::c_int = 4112;
15pub const ALC_STEREO_SOURCES: ::std::os::raw::c_int = 4113;
16pub const ALC_NO_ERROR: ::std::os::raw::c_int = 0;
17pub const ALC_INVALID_DEVICE: ::std::os::raw::c_int = 40961;
18pub const ALC_INVALID_CONTEXT: ::std::os::raw::c_int = 40962;
19pub const ALC_INVALID_ENUM: ::std::os::raw::c_int = 40963;
20pub const ALC_INVALID_VALUE: ::std::os::raw::c_int = 40964;
21pub const ALC_OUT_OF_MEMORY: ::std::os::raw::c_int = 40965;
22pub const ALC_MAJOR_VERSION: ::std::os::raw::c_int = 4096;
23pub const ALC_MINOR_VERSION: ::std::os::raw::c_int = 4097;
24pub const ALC_ATTRIBUTES_SIZE: ::std::os::raw::c_int = 4098;
25pub const ALC_ALL_ATTRIBUTES: ::std::os::raw::c_int = 4099;
26pub const ALC_DEFAULT_DEVICE_SPECIFIER: ::std::os::raw::c_int = 4100;
27pub const ALC_DEVICE_SPECIFIER: ::std::os::raw::c_int = 4101;
28pub const ALC_EXTENSIONS: ::std::os::raw::c_int = 4102;
29pub const ALC_EXT_CAPTURE: ::std::os::raw::c_int = 1;
30pub const ALC_CAPTURE_DEVICE_SPECIFIER: ::std::os::raw::c_int = 784;
31pub const ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER: ::std::os::raw::c_int = 785;
32pub const ALC_CAPTURE_SAMPLES: ::std::os::raw::c_int = 786;
33pub const ALC_ENUMERATE_ALL_EXT: ::std::os::raw::c_int = 1;
34pub const ALC_DEFAULT_ALL_DEVICES_SPECIFIER: ::std::os::raw::c_int = 4114;
35pub const ALC_ALL_DEVICES_SPECIFIER: ::std::os::raw::c_int = 4115;
36pub struct ALCdevice_struct { _priv: () }
37pub type ALCdevice = ALCdevice_struct;
38pub struct ALCcontext_struct { _priv: () }
39pub type ALCcontext = ALCcontext_struct;
40pub type ALCboolean = ::std::os::raw::c_char;
41pub type ALCchar = ::std::os::raw::c_char;
42pub type ALCbyte = ::std::os::raw::c_char;
43pub type ALCubyte = ::std::os::raw::c_uchar;
44pub type ALCshort = ::std::os::raw::c_short;
45pub type ALCushort = ::std::os::raw::c_ushort;
46pub type ALCint = ::std::os::raw::c_int;
47pub type ALCuint = ::std::os::raw::c_uint;
48pub type ALCsizei = ::std::os::raw::c_int;
49pub type ALCenum = ::std::os::raw::c_int;
50pub type ALCfloat = f32;
51pub type ALCdouble = f64;
52pub type ALCvoid = ::std::os::raw::c_void;
53pub type LPALCCREATECONTEXT =
54    ::std::option::Option<unsafe extern "C" fn(device: *mut ALCdevice,
55                                               attrlist: *const ALCint)
56                              -> *mut ALCcontext>;
57pub type LPALCMAKECONTEXTCURRENT =
58    ::std::option::Option<unsafe extern "C" fn(context: *mut ALCcontext)
59                              -> ALCboolean>;
60pub type LPALCPROCESSCONTEXT =
61    ::std::option::Option<unsafe extern "C" fn(context: *mut ALCcontext)>;
62pub type LPALCSUSPENDCONTEXT =
63    ::std::option::Option<unsafe extern "C" fn(context: *mut ALCcontext)>;
64pub type LPALCDESTROYCONTEXT =
65    ::std::option::Option<unsafe extern "C" fn(context: *mut ALCcontext)>;
66pub type LPALCGETCURRENTCONTEXT =
67    ::std::option::Option<extern "C" fn() -> *mut ALCcontext>;
68pub type LPALCGETCONTEXTSDEVICE =
69    ::std::option::Option<unsafe extern "C" fn(context: *mut ALCcontext)
70                              -> *mut ALCdevice>;
71pub type LPALCOPENDEVICE =
72    ::std::option::Option<unsafe extern "C" fn(devicename: *const ALCchar)
73                              -> *mut ALCdevice>;
74pub type LPALCCLOSEDEVICE =
75    ::std::option::Option<unsafe extern "C" fn(device: *mut ALCdevice)
76                              -> ALCboolean>;
77pub type LPALCGETERROR =
78    ::std::option::Option<unsafe extern "C" fn(device: *mut ALCdevice)
79                              -> ALCenum>;
80pub type LPALCISEXTENSIONPRESENT =
81    ::std::option::Option<unsafe extern "C" fn(device: *mut ALCdevice,
82                                               extname: *const ALCchar)
83                              -> ALCboolean>;
84pub type LPALCGETPROCADDRESS =
85    ::std::option::Option<unsafe extern "C" fn(device: *mut ALCdevice,
86                                               funcname: *const ALCchar)
87                              -> *mut ::std::os::raw::c_void>;
88pub type LPALCGETENUMVALUE =
89    ::std::option::Option<unsafe extern "C" fn(device: *mut ALCdevice,
90                                               enumname: *const ALCchar)
91                              -> ALCenum>;
92pub type LPALCGETSTRING =
93    ::std::option::Option<unsafe extern "C" fn(device: *mut ALCdevice,
94                                               param: ALCenum)
95                              -> *const ALCchar>;
96pub type LPALCGETINTEGERV =
97    ::std::option::Option<unsafe extern "C" fn(device: *mut ALCdevice,
98                                               param: ALCenum, size: ALCsizei,
99                                               values: *mut ALCint)>;
100pub type LPALCCAPTUREOPENDEVICE =
101    ::std::option::Option<unsafe extern "C" fn(devicename: *const ALCchar,
102                                               frequency: ALCuint,
103                                               format: ALCenum,
104                                               buffersize: ALCsizei)
105                              -> *mut ALCdevice>;
106pub type LPALCCAPTURECLOSEDEVICE =
107    ::std::option::Option<unsafe extern "C" fn(device: *mut ALCdevice)
108                              -> ALCboolean>;
109pub type LPALCCAPTURESTART =
110    ::std::option::Option<unsafe extern "C" fn(device: *mut ALCdevice)>;
111pub type LPALCCAPTURESTOP =
112    ::std::option::Option<unsafe extern "C" fn(device: *mut ALCdevice)>;
113pub type LPALCCAPTURESAMPLES =
114    ::std::option::Option<unsafe extern "C" fn(device: *mut ALCdevice,
115                                               buffer: *mut ALCvoid,
116                                               samples: ALCsizei)>;