|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|
Public 类型 | |
| enum | GetSourceInteger { ByteOffset = 0x1026 , SampleOffset = 0x1025 , Buffer = 0x1009 , SourceState = 0x1010 , BuffersQueued = 0x1015 , BuffersProcessed = 0x1016 , SourceType = 0x1027 } |
| enum | SourceFloat { ReferenceDistance = 0x1020 , MaxDistance = 0x1023 , RolloffFactor = 0x1021 , Pitch = 0x1003 , Gain = 0x100A , MinGain = 0x100D , MaxGain = 0x100E , ConeInnerAngle = 0x1001 , ConeOuterAngle = 0x1002 , ConeOuterGain = 0x1022 , SecOffset = 0x1024 } |
| enum | SourceVector3 { Position = 0x1004 , Velocity = 0x1006 , Direction = 0x1005 } |
| enum | SourceInteger { ByteOffset = 0x1026 , SampleOffset = 0x1025 , Buffer = 0x1009 , SourceType = 0x1027 } |
| enum | SourceBoolean { SourceRelative = 0x202 , Looping = 0x1007 } |
| enum | BufferFormat { Mono8 = 0x1100 , Mono16 = 0x1101 , Stereo8 = 0x1102 , Stereo16 = 0x1103 } |
| enum | ListenerFloat { Gain = 0x100A } |
| enum | DistanceModelEnum { None = 0 , InverseDistance = 0xD001 , InverseDistanceClamped = 0xD002 , LinearDistance = 0xD003 , LinearDistanceClamped = 0xD004 , ExponentDistance = 0xD005 , ExponentDistanceClamped = 0xD006 } |
| enum | AudioError { NoError = 0 , InvalidName = 0xA001 , IllegalEnum = 0xA002 , InvalidEnum = 0xA002 , InvalidValue = 0xA003 , IllegalCommand = 0xA004 , InvalidOperation = 0xA004 , OutOfMemory = 0xA005 } |
| enum | SourceState { Initial = 0x1011 , Playing = 0x1012 , Paused = 0x1013 , Stopped = 0x1014 } |
Public 成员函数 | |
| uint | GenSource () |
| void | DeleteSource (uint source) |
| void | GetSourceProperty (uint source, GetSourceInteger param, out int value) |
| void | SetSourceProperty (uint source, SourceFloat param, float value) |
| void | SetSourceProperty (uint source, SourceVector3 param, float value1, float value2, float value3) |
| void | SetSourceProperty (uint source, SourceInteger param, int value) |
| void | SetSourceProperty (uint source, SourceBoolean param, bool value) |
| void | SourcePlay (uint source) |
| void | SourcePause (uint source) |
| void | SourceStop (uint source) |
| void | SourceRewind (uint source) |
| uint | GenBuffer () |
| void | DeleteBuffer (uint buffer) |
| unsafe void | BufferData (uint buffer, BufferFormat format, void *data, int size, int frequency) |
| unsafe void | SourceUnqueueBuffers (uint source, int count, uint *buffers) |
| unsafe void | SourceQueueBuffers (uint source, int count, uint *buffers) |
| void | SetListenerProperty (ListenerFloat param, float value) |
| void | DistanceModel (DistanceModelEnum model) |
| AudioError | GetError () |
| unsafe void Engine.Browser.AL.BufferData | ( | uint | buffer, |
| BufferFormat | format, | ||
| void * | data, | ||
| int | size, | ||
| int | frequency ) |
| void Engine.Browser.AL.DistanceModel | ( | DistanceModelEnum | model | ) |
| AudioError Engine.Browser.AL.GetError | ( | ) |
| void Engine.Browser.AL.GetSourceProperty | ( | uint | source, |
| GetSourceInteger | param, | ||
| out int | value ) |
| void Engine.Browser.AL.SetListenerProperty | ( | ListenerFloat | param, |
| float | value ) |
| void Engine.Browser.AL.SetSourceProperty | ( | uint | source, |
| SourceBoolean | param, | ||
| bool | value ) |
| void Engine.Browser.AL.SetSourceProperty | ( | uint | source, |
| SourceFloat | param, | ||
| float | value ) |
| void Engine.Browser.AL.SetSourceProperty | ( | uint | source, |
| SourceInteger | param, | ||
| int | value ) |
| void Engine.Browser.AL.SetSourceProperty | ( | uint | source, |
| SourceVector3 | param, | ||
| float | value1, | ||
| float | value2, | ||
| float | value3 ) |
| unsafe void Engine.Browser.AL.SourceQueueBuffers | ( | uint | source, |
| int | count, | ||
| uint * | buffers ) |
| unsafe void Engine.Browser.AL.SourceUnqueueBuffers | ( | uint | source, |
| int | count, | ||
| uint * | buffers ) |