LibMp3LameWrite Method (Single, Int32, Byte, Int32, Boolean) |
Write 32-bit floating point PCM samples to encoder
Namespace: Ozeki.MediaAssembly: 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
)
Public Function Write (
samples As Single(),
nSamples As Integer,
output As Byte(),
outputSize As Integer,
mono As Boolean
) As Integer
public:
int Write(
array<float>^ samples,
int nSamples,
array<unsigned char>^ output,
int outputSize,
bool mono
)
member Write :
samples : float32[] *
nSamples : int *
output : byte[] *
outputSize : int *
mono : bool -> int
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:
Int32Number of bytes of encoded data written to output buffer.
See Also