aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/audionode.rs
Commit message (Collapse)AuthorAgeFilesLines
* Cleanups for future script crate split (#35987)Josh Matthews2025-03-161-2/+11
| | | | | | | | | | | | | | | | | * script: Avoid direct impl blocks on generated dicts and unions. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * script: Remove references to codegen-specific import module. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Fix tidy. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Limit public exports. (#34915)Josh Matthews2025-01-101-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * script: Restrict reexport visibility of DOM types. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * script: Mass pub->pub(crate) conversion. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * script: Hide existing dead code warnings. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Formatting. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Fix clippy warnings. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Formatting. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Fix unit tests. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Fix clippy. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * More formatting. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Rewrite From/TryFrom conversions on generated types to avoid future orphan ↵Josh Matthews2024-12-111-10/+11
| | | | | | | | | | | | | | | rule violations (#34554) * script: Add traits to allow converting between types that are not defined in the script crate. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * script: Rewrite all From/TryFrom implementations on generated WebIDL types to use new Convert/TryConvert traits. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Generate a trait abstracting over all known DOM interfaces (#34357)Josh Matthews2024-11-241-1/+1
| | | | | | | | | | | | | | | | | * script: Generate trait for all DOM interfaces and parameterize generated Methods traits over it. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * script: Update trait implementations with new generic type. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Formatting. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* webaudio: Implement IIRFilterNode (#33001)Daniel Adams2024-08-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Basic IIRFIlterNode bindings Signed-off-by: Daniel Adams <msub2official@gmail.com> * Add constructor to BaseAudioContext Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update IDL and use statements Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update non-crashing test expectations Signed-off-by: Daniel Adams <msub2official@gmail.com> * Tidy Signed-off-by: Daniel Adams <msub2official@gmail.com> * Add missing spec link Signed-off-by: Daniel Adams <msub2official@gmail.com> * Optimize error checks Signed-off-by: Daniel Adams <msub2official@gmail.com> * Pass context channel count to servo-media Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update test expectations Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update legacy expectations Signed-off-by: Daniel Adams <msub2official@gmail.com> * Add IIRFilterNode in interfaces.html Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update MANIFEST Signed-off-by: Daniel Adams <msub2official@gmail.com> --------- Signed-off-by: Daniel Adams <msub2official@gmail.com>
* fixed various clippy warnings (#31954)Rosemary Ajayi2024-03-311-1/+1
|
* clippy: Fix single_match warnings (#31876)Oluwatobi Sofela2024-03-261-5/+4
|
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-10/+10
| | | | | * strict imports formatting * Reformat all imports
* No tracing of nop traceable fields (#29926)Samson2023-08-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add `no_trace` option to JSTraceable derive * NoTrace wrapper * Port some types to no_trace schematics * Fixing my unsafe mistakes (not tracing traceables) * Add docs & safety guards for no_trace Safety guards (trait shenanigans) guarantees safety usage of `no_trace` * Port canvas_traits to no_trace * Port servo_media to no_trace * Port net_traits to no_trace * Port style to no_trace * Port webgpu to no_trace * Port script_traits to no_trace * Port canvas_traits, devtools_traits, embedder_traits, profile_traits to no_trace * unrooted_must_root lint in seperate file * Add trace_in_no_trace_lint as script_plugin * Composable types in must_not_have_traceable * Introduced HashMapTracedValues wrapper * `HashMap<NoTrace<K>,V>`->`HashMapTracedValues<K,V>` * Port rest of servo's types to no_trace * Port html5ever, euclid, mime and http to no_trace * Port remaining externals to no_trace * Port webxr and Arc<Mutex<_>> * Fix spelling in notrace doc
* Update servo media to include global mute supportFernando Jiménez Moreno2019-07-051-9/+37
|
* StereoPannerNode DOMMaria Sable2019-04-301-1/+17
|
* Always throw when asked to change some ChannelMergerNode propertiesMauricio Collares2019-01-101-6/+2
|
* Implement DOM APIs for ChannelSplitterNodeMauricio Collares2019-01-101-2/+16
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Reorder importsPyfisch2018-11-061-3/+7
|
* `cargo fix --edition`Simon Sapin2018-11-061-9/+9
|
* Format script componentchansuke2018-09-191-18/+27
|
* Pass down ChannelInfo to create_nodeManish Goregaokar2018-09-111-11/+44
|
* Throw on out-of-bounds channelCount in AudioNodesManish Goregaokar2018-09-031-2/+7
|
* Add ChannelMergerNodeManish Goregaokar2018-09-031-0/+10
|
* Add constraints for PannerNodeManish Goregaokar2018-08-241-0/+10
|
* Upgrade to latest servo-mediaManish Goregaokar2018-08-231-3/+12
|
* Add AudioParam connection supportManish Goregaokar2018-07-301-6/+26
|
* test-tidy fixesFernando Jiménez Moreno2018-07-301-1/+2
|
* AudioParam automation rate setterFernando Jiménez Moreno2018-07-301-1/+1
|
* AudioNode channel related properties getter and setter fixesFernando Jiménez Moreno2018-07-301-0/+68
|
* Clarify that servo-media deals with duplicated connectionsFernando Jiménez Moreno2018-07-301-0/+2
|
* rustfmtFernando Jiménez Moreno2018-07-301-30/+37
|
* Remove unnecessary commentManish Goregaokar2018-07-301-2/+0
| | | | This check is implicitly handled by the graph impl
* Fix construction of destination node (#6)Manish Goregaokar2018-07-301-0/+1
| | | | | | | | * Fix comparison of audiocontexts * Fix comparison * Fix destination node construction
* Fix context comparison (#5)Manish Goregaokar2018-07-301-2/+2
| | | | | | * Fix comparison of audiocontexts * Fix comparison
* Use new params impl (#4)Manish Goregaokar2018-07-301-2/+2
| | | | | | * AudioNodeType -> AudioNodeInit * Use new param type system, clean up
* Add disconnect methods; cleanup DOM stuff (#2)Manish Goregaokar2018-07-301-16/+21
| | | | | | | | | * Add disconnect methods * Use Dom, not DomRoot DomRoot will keep it permanently rooted, it should only be used in values not on the JS heap
* AudioBuffer stubFernando Jiménez Moreno2018-07-301-1/+1
|
* Initial AudioParam bindingsFernando Jiménez Moreno2018-07-301-2/+2
|
* Fix inheritance of DOM structs (#1)Manish Goregaokar2018-07-301-3/+3
| | | | The incorrect inheritance ends up overlapping EventTarget fields with other fields causing some DOMRefCells to start out broken and panic.
* Get destination node engine from contextFernando Jiménez Moreno2018-07-301-1/+5
|
* Workaround resume issuesFernando Jiménez Moreno2018-07-301-2/+4
|
* AudioNode connectionFernando Jiménez Moreno2018-07-301-5/+25
|
* Properly implement audio context state changesFernando Jiménez Moreno2018-07-301-1/+1
|
* Trace and malloc_size_of workarounds for servo_media typesFernando Jiménez Moreno2018-07-301-3/+5
|
* Update to use latest servo-media APIFernando Jiménez Moreno2018-07-301-19/+8
|
* Initial WebAudio API stubsFernando Jiménez Moreno2018-07-301-0/+166