Function decodeSample

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

    Parameters

    • sample: number

      The 8-bit A-Law sample

    Returns number

    16-bit PCM sample