interface MAGES::Recorder::IDecoder¶
Overview¶
Represents a decoder. More…
interface IDecoder { // properties int SampleRate; int Channels; PCM.Format Format; BinaryReader Reader; ulong Position; // methods void Init(); void Deinit(); System.Array Read(int numSamples, out int numSamplesRead); }; // direct descendants class WaveDecoder;
Detailed Documentation¶
Represents a decoder.
Properties¶
int SampleRate
Gets the sample rate.
int Channels
Gets the number of channels.
PCM.Format Format
Gets the PCM format.
BinaryReader Reader
Gets or sets the reader.
ulong Position
Gets or sets the position (in samples).
Methods¶
void Init()
Initialize the decoder.
void Deinit()
Deinitialize the decoder.
System.Array Read(int numSamples, out int numSamplesRead)
Read a number of samples.
Parameters:
numSamples |
The number of samples to read. |
numSamplesRead |
The number of samples read. |
Returns:
The samples.