Commit graph

39 commits

Author SHA1 Message Date
Daniel Adams
5520a9eb50
webaudio: Implement IIRFilterNode (#33001)
* 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>
2024-08-12 00:27:54 +00:00
Rosemary Ajayi
bd287df0d4
fixed various clippy warnings (#31954) 2024-03-31 19:58:37 +00:00
Oluwatobi Sofela
b71de92569
clippy: Fix single_match warnings (#31876) 2024-03-26 14:01:10 +00:00
Samson
aad2dccc9c
Strict import formatting (grouping and granularity) (#30325)
* strict imports formatting

* Reformat all imports
2023-09-11 19:16:54 +00:00
Samson
9514f670d1
No tracing of nop traceable fields (#29926)
* 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
2023-08-04 10:17:43 +00:00
Fernando Jiménez Moreno
8e0160fa71 Update servo media to include global mute support 2019-07-05 11:01:19 +02:00
Maria Sable
58f027468c StereoPannerNode DOM 2019-04-30 16:54:52 -07:00
Mauricio Collares
1209cf16a8 Always throw when asked to change some ChannelMergerNode properties 2019-01-10 11:58:17 -05:00
Mauricio Collares
ff0cf9e93a Implement DOM APIs for ChannelSplitterNode 2019-01-10 11:58:10 -05:00
Jan Andre Ikenmeyer
a1a14459c1
Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
Pyfisch
9e92eb205a Reorder imports 2018-11-06 22:35:07 +01:00
Simon Sapin
45f7199eee cargo fix --edition 2018-11-06 15:26:02 +01:00
chansuke
c37a345dc9 Format script component 2018-09-19 17:40:47 -04:00
Manish Goregaokar
9254606b01 Pass down ChannelInfo to create_node 2018-09-11 19:24:01 +05:30
Manish Goregaokar
28c21421ca Throw on out-of-bounds channelCount in AudioNodes 2018-09-03 20:31:52 +05:30
Manish Goregaokar
03d6fb18da Add ChannelMergerNode 2018-09-03 20:07:02 +05:30
Manish Goregaokar
7d5b4b204c Add constraints for PannerNode 2018-08-24 12:22:19 -07:00
Manish Goregaokar
4b48cfa3ec Upgrade to latest servo-media 2018-08-23 13:33:40 -07:00
Manish Goregaokar
00014b3f16 Add AudioParam connection support 2018-07-30 14:23:46 +02:00
Fernando Jiménez Moreno
21cb160be3 test-tidy fixes 2018-07-30 14:21:48 +02:00
Fernando Jiménez Moreno
3dde730f9b AudioParam automation rate setter 2018-07-30 14:21:47 +02:00
Fernando Jiménez Moreno
758ae94aa1 AudioNode channel related properties getter and setter fixes 2018-07-30 14:21:47 +02:00
Fernando Jiménez Moreno
abccf68a47 Clarify that servo-media deals with duplicated connections 2018-07-30 14:21:47 +02:00
Fernando Jiménez Moreno
b26a3bd31b rustfmt 2018-07-30 14:21:46 +02:00
Manish Goregaokar
8172b4f960 Remove unnecessary comment
This check is implicitly handled by the graph impl
2018-07-30 14:21:46 +02:00
Manish Goregaokar
723f1b0582 Fix construction of destination node (#6)
* Fix comparison of audiocontexts

* Fix comparison

* Fix destination node construction
2018-07-30 14:21:45 +02:00
Manish Goregaokar
6ac4b4b8e0 Fix context comparison (#5)
* Fix comparison of audiocontexts

* Fix comparison
2018-07-30 14:21:45 +02:00
Manish Goregaokar
f0d04249f9 Use new params impl (#4)
* AudioNodeType -> AudioNodeInit

* Use new param type system, clean up
2018-07-30 14:21:44 +02:00
Manish Goregaokar
f3bc183dba Add disconnect methods; cleanup DOM stuff (#2)
* 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
2018-07-30 14:21:43 +02:00
Fernando Jiménez Moreno
3fe38a99ad AudioBuffer stub 2018-07-30 14:21:42 +02:00
Fernando Jiménez Moreno
7380f69f77 Initial AudioParam bindings 2018-07-30 14:21:41 +02:00
Manish Goregaokar
885addfaae Fix inheritance of DOM structs (#1)
The incorrect inheritance ends up overlapping EventTarget fields with
other fields causing some DOMRefCells to start out broken and panic.
2018-07-30 14:21:40 +02:00
Fernando Jiménez Moreno
07c0450e29 Get destination node engine from context 2018-07-30 14:21:40 +02:00
Fernando Jiménez Moreno
1c2d872e33 Workaround resume issues 2018-07-30 14:21:40 +02:00
Fernando Jiménez Moreno
9eebcb31c5 AudioNode connection 2018-07-30 14:21:40 +02:00
Fernando Jiménez Moreno
aed57252b1 Properly implement audio context state changes 2018-07-30 14:21:39 +02:00
Fernando Jiménez Moreno
ba9dfb0293 Trace and malloc_size_of workarounds for servo_media types 2018-07-30 14:21:38 +02:00
Fernando Jiménez Moreno
53d4933a40 Update to use latest servo-media API 2018-07-30 14:21:37 +02:00
Fernando Jiménez Moreno
7ee42e4223 Initial WebAudio API stubs 2018-07-30 14:21:36 +02:00