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
streamStream
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
disposingbool
~OggDecoder()
protected ~OggDecoder()
GetBlockSize()
public int GetBlockSize()
Returns
GetCompressedSize()
public int GetCompressedSize()
Returns
GetCurrentStreamsCount()
public static int GetCurrentStreamsCount()
Returns
GetFormat()
public AudioFormat GetFormat()
Returns
GetFrequency()
public int GetFrequency()
Returns
IsOggStream(Stream)
public static bool IsOggStream(Stream stream)
Parameters
streamStream
Returns
OggClose(int)
public static int OggClose(int handle)
Parameters
handleint
Returns
OggRead(nint, uint, uint, int)
public static uint OggRead(nint buffer, uint size, uint nmemb, int handle)
Parameters
Returns
OggSeek(int, long, SeekOrigin)
public static int OggSeek(int handle, long offset, SeekOrigin whence)
Parameters
handleintoffsetlongwhenceSeekOrigin
Returns
OggTell(int)
public static int OggTell(int handle)
Parameters
handleint
Returns
ReadBlocks(nint, int, int)
public int ReadBlocks(nint buffer, int startIndex, int blockCount)
Parameters
Returns
Rewind()
public void Rewind()
ThrowIfDisposed()
protected void ThrowIfDisposed()