Member Junction
    Preparing search index...
    • ArrayBuffer wrapper of resamplePcm16: little-endian PCM16 in → little-endian PCM16 out, matching the ITelephonyCallSdk frame type. Convenient when the native SDK already holds the audio as the seam's ArrayBuffer rather than a typed array.

      Parameters

      • pcm: ArrayBuffer

        An ArrayBuffer of little-endian signed-16-bit PCM (a trailing odd byte is ignored).

      • fromRate: number

        The source sample rate in Hz.

      • toRate: number

        The target sample rate in Hz.

      Returns ArrayBuffer

      An ArrayBuffer of little-endian PCM16 at toRate.