Table of Contents

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

int

Id

public int Id

Field Value

int

NumBuffers

public const int NumBuffers = 8

Field Value

int

Priority

public float Priority

Field Value

float

StartupTime

public DateTime StartupTime

Field Value

DateTime

Properties

FadeInTime

public float FadeInTime { get; }

Property Value

float

FadeOutTime

public float FadeOutTime { get; }

Property Value

float

Group

public AudioChannelGroup Group { get; set; }

Property Value

AudioChannelGroup

Pan

public float Pan { get; set; }

Property Value

float

Pitch

public float Pitch { get; set; }

Property Value

float

SamplePath

public string SamplePath { get; set; }

Property Value

string

Sound

public Sound Sound { get; }

Property Value

Sound

State

public AudioChannelState State { get; }

Property Value

AudioChannelState

Streaming

public bool Streaming { get; }

Property Value

bool

Volume

public float Volume { get; set; }

Property Value

float

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

PlayParameters

Update(float)

public void Update(float delta)

Parameters

delta float