Click or drag to resize

LibMp3LameWrite(Int16, Int32, Byte, Int32, Boolean) Method

Write 16-bit integer PCM samples to encoder

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.54.0
Syntax
public int Write(
	short[] samples,
	int nSamples,
	byte[] output,
	int outputSize,
	bool mono
)

Parameters

samples  Int16
PCM sample data. Interleaved for stereo.
nSamples  Int32
Number of valid samples.
output  Byte
Buffer to write encoded data to
outputSize  Int32
Size of buffer.
mono  Boolean
True if mono, false if stereo.

Return Value

Int32
Number of bytes of encoded data written to output buffer.
See Also