public Encode ( byte srcPcmSamples, int srcOffset, byte dstOutputBuffer, int dstOffset, int sampleCount ) : int | ||
srcPcmSamples | byte | PCM samples to be encoded. |
srcOffset | int | The zero-based byte offset in srcPcmSamples at which to begin reading PCM samples. |
dstOutputBuffer | byte | An array of bytes. When this method returns, the buffer contains the specified byte array with the values starting at offset replaced with encoded audio data. |
dstOffset | int | The zero-based byte offset in dstOutputBuffer at which to begin writing encoded audio. |
sampleCount | int | The number of samples, per channel, to encode. |
return | int |