Loads and registers AudioWorklet processor modules on a specific audio device.
async function LoadWorkletOnAudioDevice(
audioDevice: AudioDevice,
workletBlobUrl: string
): Promise<boolean>;
The LoadWorkletOnAudioDevice() function registers an AudioWorklet processor module on the AudioContext associated with a given AudioDevice.
This function:
It is typically called after resolving an audio device and constructing the AudioWorklet processor Blob URL.
Note: This function is asynchronous and must be called within an asynchronous scope.
audioDevice: AudioDevice – The target audio device whose AudioContext will receive the AudioWorklet module.workletBlobUrl: string – A Blob URL referencing the AudioWorklet processor source.boolean – Returns true once the AudioWorklet module has been successfully loaded and registered.Browser-level exceptions may be thrown if:
No custom FluexGL-DSP error codes are currently emitted by this function.