Encodes linear 16-bit linear PCM to 8-bit alaw.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public override byte[] Encode( byte[] buffer, int offset, int count )
Public Overrides Function Encode ( buffer As Byte(), offset As Integer, count As Integer ) As Byte()
public: virtual array<unsigned char>^ Encode( array<unsigned char>^ buffer, int offset, int count ) override
abstract Encode : buffer : byte[] * offset : int * count : int -> byte[] override Encode : buffer : byte[] * offset : int * count : int -> byte[]
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when buffer is null reference. |
ArgumentException | Is raised when any of the arguments has invalid value. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119