aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/audiocontext.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix formatting issuesAron Zwaan2019-04-031-1/+1
|
* Rename Promise::new to Promise::new_in_current_compartmentAron Zwaan2019-04-031-2/+4
|
* Remove now-unnecessary must_root and allow(unrooted_must_root) annotationsManish Goregaokar2019-01-041-2/+0
|
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-34/+34
|
* 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-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* Reorder importsPyfisch2018-11-061-3/+7
|
* Sort `use` statementsSimon Sapin2018-11-061-1/+1
|
* `cargo fix --edition`Simon Sapin2018-11-061-15/+15
|
* Format script componentchansuke2018-09-191-3/+2
|
* 48000 -> 44100Manish Goregaokar2018-07-301-1/+1
|
* OfflineAudioContextFernando Jiménez Moreno2018-07-301-8/+5
|
* test-tidy fixesFernando Jiménez Moreno2018-07-301-3/+7
|
* rustfmtFernando Jiménez Moreno2018-07-301-15/+30
|
* Workaround resume issuesFernando Jiménez Moreno2018-07-301-6/+13
|
* Properly implement audio context state changesFernando Jiménez Moreno2018-07-301-20/+87
|
* AudioContext.suspend() implementationFernando Jiménez Moreno2018-07-301-7/+41
|
* AudioContext constructionFernando Jiménez Moreno2018-07-301-1/+24
|
* Audio context optionsFernando Jiménez Moreno2018-07-301-6/+26
|
* Initial WebAudio API stubsFernando Jiménez Moreno2018-07-301-0/+81