Skip to content

Implement the Code OSS PCM AudioWorklet subset #777

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    vscode-oss/plannedPlanned for the AppScene/WebScene VS Code OSS integration

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions