Skip to content

Implement the Code OSS PCM AudioWorklet subset #777

Closed

Description

@wieslawsoltes

Parent: #770
Prerequisites: #773, microphone capture-track, and MediaStreamAudioSourceNode children

Implement only the AudioWorklet surface reached by unchanged Code OSS pcmCaptureWorklet.ts: bounded audioWorklet.addModule(), AudioWorkletProcessor, registerProcessor, AudioWorkletNode, one input/one output quantum processing, and MessagePort delivery of mono PCM chunks. Reuse the existing Worker/MessagePort clone and lifecycle contracts. Reject unrelated arbitrary worklet features explicitly.

Author module-loading, processor-branding, 128-frame quantum, ordering, MessagePort transfer, cancellation, malformed module, queue pressure, navigation/context-close, CPU, latency and memory plateau gates plus exact Code OSS Chat PCM acceptance. Execution is deferred under the current throughput directive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    vscode-oss/planned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions