Skip to content

EmscriptenAudioWorkletNodeCreateOptions missing couple of options #23982

Closed

Description

@RReverser

EmscriptenAudioWorkletNodeCreateOptions has bindings for options of AudioWorkletNode itself, but AudioWorkletNode inherits from AudioNode which also accepts:

  • channelCount
  • channelCountMode
  • channelInterpretation

Being able to configure those is useful when you e.g. care about only one input audio channel and don't want the Web Audio system to produce garbage Float32Arrays for other channels that you're going to ignore anyway.

cc @juj

Activity

  1. juj commented on Apr 3, 2025

    @juj
    Collaborator

    Indeed, these are fields that I missed in the initial implementation. Fortunately the options are passed as a struct, so it should be possible to expand to add these. I can't make a promise that I would be able to get to adding these in a moment, as I am currently looking to fix other things, so if you want to take a stab at an implementation meanwhile, that would be cool.

  2. RReverser commented on Apr 6, 2025

    @RReverser
    CollaboratorAuthor

    I can't make a promise that I would be able to get to adding these in a moment

    Kind of the same, it should be a very simple fix just not getting around to it at the moment, so at least opened for tracking.

  3. nikitha-m commented on Oct 3, 2025

    @nikitha-m
    Contributor

    i can work on this issue, any guidelines or should i just start figuring it out

  4. RReverser commented on Oct 3, 2025

    @RReverser
    CollaboratorAuthor

    It should be fairly straightforward, but do give us a shout if you get stuck.

  5. added a commit that references this issue on Oct 6, 2025
    d9e8099
  6. added a commit that references this issue on Oct 23, 2025
    ee18e42
  7. added a commit that references this issue on Feb 13, 2026
    bb55f2e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions