MobileForms Toolkit Documentation

AudioEncoder.FormatSupported Method 

Checks if the requested format is supported.

public virtual bool FormatSupported(
int bitsPerSample,
byte channels,
int samplesPerSec
);

Parameters

bitsPerSample
Bits per sample.
channels
Number of channels (1 or 2).
samplesPerSec
Samples per second, in hertz (Hz).

Return Value

Return true if the format is supported, otherwise false.

See Also

AudioEncoder Class | Resco.Audio Namespace