Table of Contents

Class OggDecoder

Namespace
Lime
Assembly
Lime.dll
public class OggDecoder : IAudioDecoder, IDisposable
Inheritance
OggDecoder
Implements
Inherited Members

Constructors

OggDecoder(Stream)

public OggDecoder(Stream stream)

Parameters

stream Stream

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Dispose(bool)

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

~OggDecoder()

protected ~OggDecoder()

GetBlockSize()

public int GetBlockSize()

Returns

int

GetCompressedSize()

public int GetCompressedSize()

Returns

int

GetCurrentStreamsCount()

public static int GetCurrentStreamsCount()

Returns

int

GetFormat()

public AudioFormat GetFormat()

Returns

AudioFormat

GetFrequency()

public int GetFrequency()

Returns

int

IsOggStream(Stream)

public static bool IsOggStream(Stream stream)

Parameters

stream Stream

Returns

bool

OggClose(int)

public static int OggClose(int handle)

Parameters

handle int

Returns

int

OggRead(nint, uint, uint, int)

public static uint OggRead(nint buffer, uint size, uint nmemb, int handle)

Parameters

buffer nint
size uint
nmemb uint
handle int

Returns

uint

OggSeek(int, long, SeekOrigin)

public static int OggSeek(int handle, long offset, SeekOrigin whence)

Parameters

handle int
offset long
whence SeekOrigin

Returns

int

OggTell(int)

public static int OggTell(int handle)

Parameters

handle int

Returns

int

ReadBlocks(nint, int, int)

public int ReadBlocks(nint buffer, int startIndex, int blockCount)

Parameters

buffer nint
startIndex int
blockCount int

Returns

int

Rewind()

public void Rewind()

ThrowIfDisposed()

protected void ThrowIfDisposed()