Click or drag to resize
LibMp3LameWrite Method (Single, Int32, Byte, Int32, Boolean)
Write 32-bit floating point PCM samples to encoder

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

Parameters

samples
Type: SystemSingle
PCM sample data. Interleaved for stereo.
nSamples
Type: SystemInt32
Number of valid samples.
output
Type: SystemByte
Buffer to write encoded data to
outputSize
Type: SystemInt32
Size of buffer.
mono
Type: SystemBoolean
True if mono, false if stereo.

Return Value

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