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).
Converts a raw little-endian 16-bit PCM
ArrayBuffer(what the bridge forwards from the realtime model's output) into anInt16Arrayview suitable for a LiveKitAudioFrame. An odd byte length is truncated to whole samples (a defensive guard — a half sample is never valid PCM16).