Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -4/+7 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Unify the task source and task canceller API | Agustin Chiappe Berrini | 2018-11-14 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 imports | Pyfisch | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -1/+2 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -9/+9 |
| | |||||
* | More accurate names for .started and .stopped | Manish Goregaokar | 2018-10-11 | 1 | -10/+10 |
| | |||||
* | Throw if time given to AudioScheduledSourceNode.stop is negative | Fernando Jiménez Moreno | 2018-09-25 | 1 | -0/+8 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -3/+4 |
| | |||||
* | Pass down ChannelInfo to create_node | Manish Goregaokar | 2018-09-11 | 1 | -3/+2 |
| | |||||
* | Throw on out-of-bounds channelCount in AudioNodes | Manish Goregaokar | 2018-09-03 | 1 | -4/+5 |
| | |||||
* | Upgrade to latest servo-media | Manish Goregaokar | 2018-08-23 | 1 | -1/+0 |
| | |||||
* | Fire AudioScheduledSourceNode.onended when playback stops | Fernando Jiménez Moreno | 2018-07-30 | 1 | -1/+31 |
| | |||||
* | test-tidy fixes | Fernando Jiménez Moreno | 2018-07-30 | 1 | -1/+1 |
| | |||||
* | Reference issue to support the AudioScheduledSourceNode.ended event | Fernando Jiménez Moreno | 2018-07-30 | 1 | -0/+1 |
| | |||||
* | rustfmt | Fernando Jiménez Moreno | 2018-07-30 | 1 | -15/+25 |
| | |||||
* | Use new params impl (#4) | Manish Goregaokar | 2018-07-30 | 1 | -2/+2 |
| | | | | | | * AudioNodeType -> AudioNodeInit * Use new param type system, clean up | ||||
* | createBufferSource and buffer setter on buffer source node | Fernando Jiménez Moreno | 2018-07-30 | 1 | -5/+24 |
| | |||||
* | Initial AudioParam bindings | Fernando Jiménez Moreno | 2018-07-30 | 1 | -0/+5 |
| | |||||
* | Get destination node engine from context | Fernando Jiménez Moreno | 2018-07-30 | 1 | -1/+2 |
| | |||||
* | AudioScheduledSourceNode start and stop | Fernando Jiménez Moreno | 2018-07-30 | 1 | -3/+9 |
| | |||||
* | Update to use latest servo-media API | Fernando Jiménez Moreno | 2018-07-30 | 1 | -15/+4 |
| | |||||
* | Test OscillatorNode with servo_media | Fernando Jiménez Moreno | 2018-07-30 | 1 | -0/+13 |
| | |||||
* | Initial WebAudio API stubs | Fernando Jiménez Moreno | 2018-07-30 | 1 | -0/+38 |