Member Junction
    Preparing search index...
    • Coerces raw PCM bytes (a Uint8Array view or a standalone ArrayBuffer) into a freshly-copied ArrayBuffer over exactly this frame's bytes — never aliasing the addon's reused capture window. Defined (and exported) here because the Discord package has no other PCM-coercion helper to reuse (the seam's own DiscordAudioFrame.Pcm is already an ArrayBuffer); kept a single export so it does not collide under index.ts's export *.

      Parameters

      • data: ArrayBuffer | Uint8Array<ArrayBufferLike>

      Returns ArrayBuffer