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
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
stream
Stream
Returns
OggClose(int)
public static int OggClose(int handle)
Parameters
handle
int
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
handle
intoffset
longwhence
SeekOrigin
Returns
OggTell(int)
public static int OggTell(int handle)
Parameters
handle
int
Returns
ReadBlocks(nint, int, int)
public int ReadBlocks(nint buffer, int startIndex, int blockCount)
Parameters
Returns
Rewind()
public void Rewind()
ThrowIfDisposed()
protected void ThrowIfDisposed()