MobileForms Toolkit Documentation

CustomEncoder.Open Method 

Open the encoder from stream.

public abstract void Open(
Stream stream,
int bitsPerSample,
byte channels,
int samplesPerSec,
byte quality
);

Parameters

stream
Stream used for encoding.
bitsPerSample
Bits per sample.
channels
Number of channels (1 or 2).
samplesPerSec
Samples per second, in hertz (Hz).
quality
Quality level for the current encoder. To gets quality counts see QualityCount. 0 is the lowest or none quality.

Return Value

Return true if the open successed, otherwise false.

See Also

CustomEncoder Class | Resco.Audio Namespace