Class AudioChannel
- Namespace
- Lime
- Assembly
- Lime.dll
public class AudioChannel : IDisposable, IAudioChannel
- Inheritance
-
AudioChannel
- Implements
- Inherited Members
Constructors
AudioChannel(int)
public AudioChannel(int index)
Parameters
index
int
Fields
BufferSize
public const int BufferSize = 32768
Field Value
Id
public int Id
Field Value
NumBuffers
public const int NumBuffers = 8
Field Value
Priority
public float Priority
Field Value
StartupTime
public DateTime StartupTime
Field Value
Properties
FadeInTime
public float FadeInTime { get; }
Property Value
FadeOutTime
public float FadeOutTime { get; }
Property Value
Group
public AudioChannelGroup Group { get; set; }
Property Value
Pan
public float Pan { get; set; }
Property Value
Pitch
public float Pitch { get; set; }
Property Value
SamplePath
public string SamplePath { get; set; }
Property Value
Sound
public Sound Sound { get; }
Property Value
State
public AudioChannelState State { get; }
Property Value
Streaming
public bool Streaming { get; }
Property Value
Volume
public float Volume { get; set; }
Property Value
Methods
CreateOpenALResources()
public void CreateOpenALResources()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
DisposeOpenALResources()
public void DisposeOpenALResources()
Pause(float)
public void Pause(float fadeOutTime = 0)
Parameters
fadeOutTime
float
Resume(float)
public void Resume(float fadeInTime = 0)
Parameters
fadeInTime
float
Stop(float)
public void Stop(float fadeOutTime = 0)
Parameters
fadeOutTime
float
Suspend(float)
public PlayParameters Suspend(float fadeOutTime = 0)
Parameters
fadeOutTime
float
Returns
Update(float)
public void Update(float delta)
Parameters
delta
float