Member Junction
    Preparing search index...
    • Encodes linear PCM16 samples to G.711 μ-law bytes.

      Parameters

      • pcm: Int16Array

        The signed 16-bit linear samples to encode.

      Returns Uint8Array

      A Uint8Array of μ-law codes (one byte per sample).