class MAGES::Recorder::WaveEncoder¶
Overview¶
An encoder for the WaveCodec. More…
class WaveEncoder: public MAGES::Recorder::IEncoder { public: // properties int Channels; int SampleRate; PCM.Format Format; BinaryWriter Writer; // methods void Init(); void Deinit(); void PushSamples(float[] data, int channels); };
Inherited Members¶
public: // methods void Init(); void Deinit(); void PushSamples(float[] data, int channels);
Detailed Documentation¶
An encoder for the WaveCodec.
Properties¶
int Channels
Gets or sets the number of channels.
int SampleRate
Gets or sets the sample rate.
PCM.Format Format
Gets or sets the format.
BinaryWriter Writer
Gets or sets the writer.
Methods¶
void Init()
Initializes the encoder.
void Deinit()
Deinitializes the encoder.
void PushSamples(float[] data, int channels)
Push a sample to the encoder.
Parameters:
data |
The sample data. |
channels |
The number of channels. |