/// <summary>Defines the A in OpenAL A.B</summary>
ApiMajorVersion=1,
/// <summary>Defines the B in OpenAL A.B</summary>
ApiMinorVersion=1,
}
publicenumAlutError:int
{
/// <summary>No ALUT error found.</summary>
NoError=0,
/// <summary>ALUT ran out of memory.</summary>
OutOfMemory=0x200,
/// <summary>ALUT was given an invalid enumeration token.</summary>
InvalidEnum=0x201,
/// <summary>ALUT was given an invalid value.</summary>
InvalidValue=0x202,
/// <summary>The operation is invalid in the current ALUT state.</summary>
InvalidOperation=0x203,
/// <summary>There is no current AL context.</summary>
NoCurrentContext=0x204,
/// <summary>There was already an AL error on entry to an ALUT function.</summary>
AlErrorOnEntry=0x205,
/// <summary>There was already an ALC error on entry to an ALUT function.</summary>
AlcErrorOnEntry=0x206,
/// <summary>There was an error opening the ALC device.</summary>
OpenDevice=0x207,
/// <summary>There was an error closing the ALC device.</summary>
CloseDevice=0x208,
/// <summary>There was an error creating an ALC context.</summary>
CreateContext=0x209,
/// <summary>Could not change the current ALC context.</summary>
MakeContextCurrent=0x20A,
/// <summary>There was an error destroying the ALC context.</summary>
DestroyContext=0x20B,
/// <summary>There was an error generating an AL buffer.</summary>
GenBuffers=0x20C,
/// <summary>There was an error passing buffer buffer to AL.</summary>
BufferData=0x20D,
/// <summary>I/O error, consult errno for more details.</summary>
IoError=0x20E,
/// <summary>Unsupported file type.</summary>
UnsupportedFileType=0x20F,
/// <summary>Unsupported mode within an otherwise usable file type.</summary>
UnsupportedFileSubtype=0x210,
/// <summary>The sound buffer was corrupt or truncated.</summary>
CorruptOrTruncatedData=0x211,
}
publicenumAlutWaveform:int
{
Sine=0x100,
Square=0x101,
SawTooth=0x102,
WhiteNoise=0x103,
Impulse=0x104,
}
publicenumAlutLoader:int
{
///<summary>For the loaders returning sound buffer in an OpenAL buffer, e.g. Alut.CreateBufferFromFile and Alut.CreateBufferFromFileImage</summary>
Buffer=0x300,
///<summary>For the loaders returning sound buffer in a newly allocated memory region, e.g. Alut.LoadMemoryFromFile and Alut.LoadMemoryFromFileImage.</summary>