generated from napi-rs/package-template
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Remaining todos and ideas following #124
- Review rules and fix number of channels outputs when input change
- Use a pool of
Float32Arraychannels to avoid allocation and GC (as much as possible) - Ensure we run
run_audio_worklet_global_scopeandsetImmediateonly once per render quantum - Use the fact that parameterDescriptors are ordered to avoid transferring parameter keys, i.e.
NapiAudioWorlketProcessor::param_valuescould just beVec<&'static [f32]> - Review how message passing is done between audio and worklet threads (possibly use
parking_lotcrate ?) -
Dry runcould create issues If the worklet buffer some valuesprocessfunctions to force the JIT compiler to optimize them ? (might break some wpt checks) - Review and annotate unsafe sections
- Change the thread_priority crate to https://github.com/mozilla/audio_thread_priority
- Use a CondVar instead of crossbeam channel for Worker/Rust message passing
- Propagate back error to rust thread in case of WorkletAbruptCompletionResult to remove the Worklet from graph
- ...
Metadata
Metadata
Assignees
Labels
No labels