Member Junction
    Preparing search index...
    • Converts a raw little-endian 16-bit PCM ArrayBuffer (what the bridge forwards from the realtime model's output) into an Int16Array view suitable for a LiveKit AudioFrame. An odd byte length is truncated to whole samples (a defensive guard — a half sample is never valid PCM16).

      Parameters

      • pcm: ArrayBuffer

      Returns Int16Array