aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/baseaudiocontext.rs
Commit message (Collapse)AuthorAgeFilesLines
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-22/+24
| | | | | * 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 uuidMartin Robinson2023-06-261-1/+1
| | | | | This is required to use the new version of gleam and update ipc-channels without duplicating the dependency in the future.
* Remove global argument from Promise::new_in_current_realm.Josh Matthews2023-05-201-2/+2
|
* fixed channels indexing in progress callback in BaseAudioContext.DecodeAudioDataShamir Khodzha2020-05-041-4/+7
| | | | | | Gstreamer backend returns channel as single bit mask (ie 1, 2, 4, 8, 32 etc). Progress callback was using this mask as plain channel index, thus storing decoded audio in wrong channel.
* Update to 3/4 nightly rustc.Josh Matthews2020-03-101-1/+1
|
* Revert "Auto merge of #25898 - jdm:rustup, r=asajeffrey"Josh Matthews2020-03-061-1/+1
| | | | | This reverts commit ea8aed1ba927012d992a3d3c9880858e0282f5f9, reversing changes made to 3749eb53971b688b855d6b1850f41b4c346cd2da.
* Update to 3/4 nightly rustc.Josh Matthews2020-03-041-1/+1
|
* rename compartment to realmKunal Mohan2020-01-241-5/+5
|
* Register pipeline instead of browsing contexts for media instancesFernando Jiménez Moreno2019-09-191-6/+4
|
* Update servo-media. Remove implicit shutdown requests. It all happens ↵Fernando Jiménez Moreno2019-08-191-14/+0
| | | | automagicly now
* ISSUE-21803: implement ConstantSourceNode audionodeThomas Delacour2019-08-131-0/+11
|
* AudioContext shutdownFernando Jiménez Moreno2019-07-051-0/+14
|
* Update servo media to include global mute supportFernando Jiménez Moreno2019-07-051-12/+22
|
* Use the newly added inCompartments option everywhere it can beBastien Orivel2019-05-251-12/+5
|
* StereoPannerNode DOMMaria Sable2019-04-301-0/+11
|
* Pass InCompartment by valueAron Zwaan2019-04-251-2/+2
|
* Add proof parameter to Promise::new_in_current_compartmentAron Zwaan2019-04-241-4/+11
|
* Auto merge of #23215 - ferjm:decoder.channels, r=jdmbors-servo2019-04-181-1/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep a map between channel position and channel index for decoded audio - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] There are WPTs for these changes. This should help fixing #22842 (along with https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/issues/183). I couldn't reproduce it locally, so I cannot tell for sure. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23215) <!-- Reviewable:end -->
| * Keep a map between channel position and channel index for decoded audioFernando Jiménez Moreno2019-04-171-1/+12
| |
* | Move media backend initialization to process startup.Josh Matthews2019-04-151-3/+0
|/
* Rename Promise::new to Promise::new_in_current_compartmentAron Zwaan2019-04-031-2/+4
|
* Use servo-media-auto and call ServoMedia::init where requiredFernando Jiménez Moreno2019-03-251-0/+3
|
* Shutdown player when HTMLMediaElement is droppedFernando Jiménez Moreno2019-03-251-3/+3
|
* Implement DOM APIs for ChannelSplitterNodeMauricio Collares2019-01-101-0/+9
|
* Remove now-unnecessary must_root and allow(unrooted_must_root) annotationsManish Goregaokar2019-01-041-5/+0
|
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-2/+2
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Unify the task source and task canceller APIAgustin Chiappe Berrini2018-11-141-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | I moved away from the `Window` struct all the logic to handle task sources, into a new struct called `TaskManager`. In a happy world, I'd be able to just have there two functions, of the types: ```rust fn task_source<T: TaskSource>(&self, name: TaskSourceName) -> Box<T> fn task_source_with_canceller<T: TaskSource>(&self, name: TaskSourceName) -> (Box<T>, TaskSourceCanceller) ``` And not so much duplicated code. However, because TaskSource can't be a trait object (because it has generic type parameters), that's not possible. Instead, I decided to reduce duplicated logic through macros. For reasons[1], I have to pass both the name of the function with canceller and the name of the function without, as I'm not able to concatenate them in the macro itself. I could probably use `concat_idents` to create both types already defined and reduce the amount of arguments by one, but that macro is nightly only. At the same time, not being able to declare macros inside `impl` forces me to pass `self` as an argument. All this makes this solution more verbose than it would be ideally. It does reduce duplication, but it doesn't reduce the size of the file. [1](https://github.com/rust-lang/rust/issues/29599)
* Update uuidBastien Orivel2018-11-091-1/+1
|
* Reorder importsPyfisch2018-11-061-2/+4
|
* Format remaining filesPyfisch2018-11-061-5/+13
|
* Sort `use` statementsSimon Sapin2018-11-061-1/+1
|
* `cargo fix --edition`Simon Sapin2018-11-061-37/+37
|
* Update servo-media: handle decoder errors and use safer/nicer player APIFernando Jiménez Moreno2018-10-081-2/+3
|
* Auto merge of #21750 - Manishearth:biquad, r=ferjmbors-servo2018-09-201-0/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | Implement BiquadFilterNode A bunch of tests still fail but some of it may be a timing issue, looking at it the tests are *at least* affected by https://github.com/servo/servo/issues/21659 (changing how they work to avoid problems from that does not make them pass but does change the exact value of the error), so I feel like I should fix that first before investigating these. r? @ferjm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21750) <!-- Reviewable:end -->
| * Add createBiquadFilter()Manish Goregaokar2018-09-201-1/+1
| |
| * Implement BiquadFilterNodeManish Goregaokar2018-09-201-0/+7
| |
* | Format script componentchansuke2018-09-191-18/+16
|/
* Add createAnalyserManish Goregaokar2018-09-181-0/+7
|
* Add support for multichannel decoded audioFernando Jiménez Moreno2018-09-111-9/+19
|
* Add createChannelMerger()Manish Goregaokar2018-09-041-0/+8
|
* Throw on out-of-bounds channelCount in AudioNodesManish Goregaokar2018-09-031-3/+3
|
* Handle channel count constraints in panner constructorManish Goregaokar2018-08-241-1/+1
|
* Add BaseAudioContext.createPanner()Manish Goregaokar2018-08-241-0/+8
|
* cleanup: Remove Rc from BaseAudioContextManish Goregaokar2018-08-241-8/+6
|
* Add AudioListener DOM interfaceManish Goregaokar2018-08-241-0/+16
|
* OfflineAudioContextFernando Jiménez Moreno2018-07-301-22/+32
|
* Fix build errors after rebaseFernando Jiménez Moreno2018-07-301-3/+3
|
* test-tidy fixesFernando Jiménez Moreno2018-07-301-1/+3
|