Encodes linear PCM16 samples to G.711 μ-law bytes.
The signed 16-bit linear samples to encode.
A Uint8Array of μ-law codes (one byte per sample).
Uint8Array
Encodes linear PCM16 samples to G.711 μ-law bytes.