Function encodeSample

  • Encode a 16-bit linear PCM sample as 8-bit A-Law.

    Parameters

    • sample: number

      A 16-bit PCM sample

    Returns number

    8-bit A-Law sample

MMNEPVFCICPMFPCPTTAAATR