00001 #region --- OpenTK.OpenAL License ---
00002
00003
00004
00005
00006
00007
00008 #endregion
00009
00010 using System;
00011
00012 namespace OpenTK.Audio.OpenAL
00013 {
00014
00016 public enum ALCapability : int
00017 {
00019 Invalid = -1,
00020 }
00021
00023 public enum ALListenerf : int
00024 {
00026 Gain = 0x100A,
00027
00029 EfxMetersPerUnit = 0x20004,
00030 }
00031
00033 public enum ALListener3f : int
00034 {
00036 Position = 0x1004,
00037
00039 Velocity = 0x1006,
00040 }
00041
00043 public enum ALListenerfv : int
00044 {
00046 Orientation = 0x100F,
00047 }
00048
00050 public enum ALSourcef : int
00051 {
00053 ReferenceDistance = 0x1020,
00054
00056 MaxDistance = 0x1023,
00057
00059 RolloffFactor = 0x1021,
00060
00062 Pitch = 0x1003,
00063
00065 Gain = 0x100A,
00066
00068 MinGain = 0x100D,
00069
00071 MaxGain = 0x100E,
00072
00074 ConeInnerAngle = 0x1001,
00075
00077 ConeOuterAngle = 0x1002,
00078
00080 ConeOuterGain = 0x1022,
00081
00083 SecOffset = 0x1024,
00084
00086 EfxAirAbsorptionFactor = 0x20007,
00087
00089 EfxRoomRolloffFactor = 0x20008,
00090
00092 EfxConeOuterGainHighFrequency = 0x20009,
00093
00094 }
00095
00097 public enum ALSource3f : int
00098 {
00100 Position = 0x1004,
00101
00103 Velocity = 0x1006,
00104
00106 Direction = 0x1005,
00107 }
00108
00110 public enum ALSourceb : int
00111 {
00113 SourceRelative = 0x202,
00114
00116 Looping = 0x1007,
00117
00119 EfxDirectFilterGainHighFrequencyAuto = 0x2000A,
00120
00122 EfxAuxiliarySendFilterGainAuto = 0x2000B,
00123
00125 EfxAuxiliarySendFilterGainHighFrequencyAuto = 0x2000C,
00126 }
00127
00129 public enum ALSourcei : int
00130 {
00132 ByteOffset = 0x1026,
00133
00135 SampleOffset = 0x1025,
00136
00138 Buffer = 0x1009,
00139
00141 SourceType = 0x1027,
00142
00144 EfxDirectFilter = 0x20005,
00145 }
00146
00148 public enum ALSource3i : int
00149 {
00151 EfxAuxiliarySendFilter = 0x20006,
00152 }
00153
00155 public enum ALGetSourcei : int
00156 {
00158 ByteOffset = 0x1026,
00159
00161 SampleOffset = 0x1025,
00162
00164 Buffer = 0x1009,
00165
00167 SourceState = 0x1010,
00168
00170 BuffersQueued = 0x1015,
00171
00173 BuffersProcessed = 0x1016,
00174
00176 SourceType = 0x1027,
00177 }
00178
00179
00180
00181
00183
00184
00185
00186
00188 public enum ALSourceState : int
00189 {
00191 Initial = 0x1011,
00192
00194 Playing = 0x1012,
00195
00197 Paused = 0x1013,
00198
00200 Stopped = 0x1014,
00201 }
00202
00204 public enum ALSourceType : int
00205 {
00207 Static = 0x1028,
00208
00210 Streaming = 0x1029,
00211
00213 Undetermined = 0x1030,
00214 }
00215
00217 public enum ALFormat : int
00218 {
00220 Mono8 = 0x1100,
00221
00223 Mono16 = 0x1101,
00224
00226 Stereo8 = 0x1102,
00227
00229 Stereo16 = 0x1103,
00230
00232 MonoALawExt = 0x10016,
00233
00235 StereoALawExt = 0x10017,
00236
00238 MonoMuLawExt = 0x10014,
00239
00241 StereoMuLawExt = 0x10015,
00242
00244 VorbisExt = 0x10003,
00245
00247 Mp3Ext = 0x10020,
00248
00250 MonoIma4Ext = 0x1300,
00251
00253 StereoIma4Ext = 0x1301,
00254
00256 MonoFloat32Ext = 0x10010,
00257
00259 StereoFloat32Ext = 0x10011,
00260
00262 MonoDoubleExt = 0x10012,
00263
00265 StereoDoubleExt = 0x10013,
00266
00268 Multi51Chn16Ext = 0x120B,
00269
00271 Multi51Chn32Ext = 0x120C,
00272
00274 Multi51Chn8Ext = 0x120A,
00275
00277 Multi61Chn16Ext = 0x120E,
00278
00280 Multi61Chn32Ext = 0x120F,
00281
00283 Multi61Chn8Ext = 0x120D,
00284
00286 Multi71Chn16Ext = 0x1211,
00287
00289 Multi71Chn32Ext = 0x1212,
00290
00292 Multi71Chn8Ext = 0x1210,
00293
00295 MultiQuad16Ext = 0x1205,
00296
00298 MultiQuad32Ext = 0x1206,
00299
00301 MultiQuad8Ext = 0x1204,
00302
00304 MultiRear16Ext = 0x1208,
00305
00307 MultiRear32Ext = 0x1209,
00308
00310 MultiRear8Ext = 0x1207,
00311 }
00312
00314 public enum ALGetBufferi : int
00315 {
00317 Frequency = 0x2001,
00318
00320 Bits = 0x2002,
00321
00323 Channels = 0x2003,
00324
00326 Size = 0x2004,
00327
00328
00329 }
00330
00332 public enum ALBufferState : int
00333 {
00335 Unused = 0x2010,
00336
00338 Pending = 0x2011,
00339
00341 Processed = 0x2012,
00342 }
00343
00345 public enum ALError : int
00346 {
00348 NoError = 0,
00349
00351 InvalidName = 0xA001,
00352
00354 IllegalEnum = 0xA002,
00356 InvalidEnum = 0xA002,
00357
00359 InvalidValue = 0xA003,
00360
00362 IllegalCommand = 0xA004,
00364 InvalidOperation = 0xA004,
00365
00367 OutOfMemory = 0xA005,
00368 }
00369
00371 public enum ALGetString : int
00372 {
00374 Vendor = 0xB001,
00375
00377 Version = 0xB002,
00378
00380 Renderer = 0xB003,
00381
00383 Extensions = 0xB004,
00384 }
00385
00387 public enum ALGetFloat : int
00388 {
00390 DopplerFactor = 0xC000,
00391
00393 DopplerVelocity = 0xC001,
00394
00396 SpeedOfSound = 0xC003,
00397 }
00398
00400 public enum ALGetInteger : int
00401 {
00403 DistanceModel = 0xD000,
00404 }
00405
00407 public enum ALDistanceModel : int
00408 {
00410 None = 0,
00411
00413 InverseDistance = 0xD001,
00414
00416 InverseDistanceClamped = 0xD002,
00417
00419 LinearDistance = 0xD003,
00420
00422 LinearDistanceClamped = 0xD004,
00423
00425 ExponentDistance = 0xD005,
00426
00428 ExponentDistanceClamped = 0xD006,
00429 }
00430
00431 }