You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add missing options to EmscriptenAudioWorkletNodeCreateOptions (#25497)
## Problem Description
The EmscriptenAudioWorkletNodeCreateOptions struct currently only
exposes options specific to AudioWorkletNode itself (numberOfInputs,
numberOfOutputs, outputChannelCounts), but AudioWorkletNode inherits
from AudioNode which has additional properties:
- channelCount
- channelCountMode
- channelInterpretation
## Fix
- Extend the C struct in `system/include/emscripten/webaudio.h`.
- Update the JavaScript implementation in `src/lib/libwebaudio.js` to
pass these options to the `AudioWorkletNode` constructor.
Fixes: #23982
---------
Co-authored-by: Nikitha Mohithe <nikithamohite@Nikithas-MacBook-Air.local>
// Instantiates the given AudioWorkletProcessor as an AudioWorkletNode, which continuously calls the specified processCallback() function on the browser's audio thread to perform audio processing.
0 commit comments