SpeechEncoderEncodeToBuffer Method |
Encodes an array of PCM data to the selected codec and stores it in a byte array.
Note: The size of the input data is dependent on the value of MaximumInputDataLength
Namespace: StreamCoders.EncoderAssembly: MediaSuite (in MediaSuite.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic byte[] EncodeToBuffer(
byte[] buffer
)
Public Function EncodeToBuffer (
buffer As Byte()
) As Byte()
public:
array<unsigned char>^ EncodeToBuffer(
array<unsigned char>^ buffer
)
member EncodeToBuffer :
buffer : byte[] -> byte[]
Parameters
- buffer
- Type: SystemByte
[in,out] If non-null, the buffer.
Return Value
Type:
Byte
null if it fails, else.
See Also