| 1 |
module c.al.alctypes; |
|---|
| 2 |
|
|---|
| 3 |
/* |
|---|
| 4 |
* OpenAL cross platform audio library |
|---|
| 5 |
* Copyright (C) 1999-2000 by authors. |
|---|
| 6 |
* This library is free software; you can redistribute it and/or |
|---|
| 7 |
* modify it under the terms of the GNU Library General Public |
|---|
| 8 |
* License as published by the Free Software Foundation; either |
|---|
| 9 |
* version 2 of the License, or (at your option) any later version. |
|---|
| 10 |
* |
|---|
| 11 |
* This library is distributed in the hope that it will be useful, |
|---|
| 12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 14 |
* Library General Public License for more details. |
|---|
| 15 |
* |
|---|
| 16 |
* You should have received a copy of the GNU Library General Public |
|---|
| 17 |
* License along with this library; if not, write to the |
|---|
| 18 |
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|---|
| 19 |
* Boston, MA 02111-1307, USA. |
|---|
| 20 |
* Or go to http://www.gnu.org/copyleft/lgpl.html |
|---|
| 21 |
*/ |
|---|
| 22 |
|
|---|
| 23 |
alias int ALCdevice; |
|---|
| 24 |
alias int ALCcontext; |
|---|
| 25 |
|
|---|
| 26 |
alias byte ALCboolean; |
|---|
| 27 |
alias char ALCchar; |
|---|
| 28 |
alias byte ALCbyte; |
|---|
| 29 |
alias ubyte ALCubyte; |
|---|
| 30 |
alias short ALCshort; |
|---|
| 31 |
alias ushort ALCushort; |
|---|
| 32 |
alias int ALCint; |
|---|
| 33 |
alias uint ALCuint; |
|---|
| 34 |
alias uint ALCsizei; |
|---|
| 35 |
alias int ALCenum; |
|---|
| 36 |
alias float ALCfloat; |
|---|
| 37 |
alias double ALCdouble; |
|---|
| 38 |
alias void ALCvoid; |
|---|
| 39 |
|
|---|
| 40 |
const ushort ALC_INVALID = 0; |
|---|
| 41 |
const ushort ALC_FALSE = 0; |
|---|
| 42 |
const ushort ALC_TRUE = 1; |
|---|
| 43 |
const ushort ALC_FREQUENCY = 0x1007; |
|---|
| 44 |
const ushort ALC_REFRESH = 0x1008; |
|---|
| 45 |
const ushort ALC_SYNC = 0x1009; |
|---|
| 46 |
const ushort ALC_MONO_SOURCES = 0x1010; |
|---|
| 47 |
const ushort ALC_STEREO_SOURCES = 0x1011; |
|---|
| 48 |
const ushort ALC_NO_ERROR = ALC_FALSE; |
|---|
| 49 |
const ushort ALC_INVALID_DEVICE = 0xA001; |
|---|
| 50 |
const ushort ALC_INVALID_CONTEXT = 0xA002; |
|---|
| 51 |
const ushort ALC_INVALID_ENUM = 0xA003; |
|---|
| 52 |
const ushort ALC_INVALID_VALUE = 0xA004; |
|---|
| 53 |
const ushort ALC_OUT_OF_MEMORY = 0xA005; |
|---|
| 54 |
const ushort ALC_DEFAULT_DEVICE_SPECIFIER = 0x1004; |
|---|
| 55 |
const ushort ALC_DEVICE_SPECIFIER = 0x1005; |
|---|
| 56 |
const ushort ALC_EXTENSIONS = 0x1006; |
|---|
| 57 |
const ushort ALC_MAJOR_VERSION = 0x1000; |
|---|
| 58 |
const ushort ALC_MINOR_VERSION = 0x1001; |
|---|
| 59 |
const ushort ALC_ATTRIBUTES_SIZE = 0x1002; |
|---|
| 60 |
const ushort ALC_ALL_ATTRIBUTES = 0x1003; |
|---|
| 61 |
const ushort ALC_CAPTURE_DEVICE_SPECIFIER = 0x310; |
|---|
| 62 |
const ushort ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER = 0x311; |
|---|
| 63 |
const ushort ALC_CAPTURE_SAMPLES = 0x312; |
|---|