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 *.
Coerces raw PCM bytes (a
Uint8Arrayview or a standaloneArrayBuffer) into a freshly-copiedArrayBufferover 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 anArrayBuffer); kept a single export so it does not collide underindex.ts'sexport *.