Commit graph

47 commits

Author SHA1 Message Date
Fernando Jiménez Moreno
0db628028a Update servo-media: handle decoder errors and use safer/nicer player API 2018-10-08 16:12:04 +02:00
bors-servo
ac331c6663
Auto merge of #21750 - Manishearth:biquad, r=ferjm
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 -->
2018-09-20 11:01:53 -04:00
Manish Goregaokar
bb61487d8f Add createBiquadFilter() 2018-09-20 20:23:29 +05:30
Manish Goregaokar
1be41686d3 Implement BiquadFilterNode 2018-09-20 20:23:29 +05:30
chansuke
c37a345dc9 Format script component 2018-09-19 17:40:47 -04:00
Manish Goregaokar
9dfc57878e Add createAnalyser 2018-09-18 18:18:36 +05:30
Fernando Jiménez Moreno
f423ede07f Add support for multichannel decoded audio 2018-09-11 10:38:56 +02:00
Manish Goregaokar
af5b1c4011 Add createChannelMerger() 2018-09-04 11:23:00 +05:30
Manish Goregaokar
28c21421ca Throw on out-of-bounds channelCount in AudioNodes 2018-09-03 20:31:52 +05:30
Manish Goregaokar
5dd830344b Handle channel count constraints in panner constructor 2018-08-24 12:51:37 -07:00
Manish Goregaokar
062c1d6071 Add BaseAudioContext.createPanner() 2018-08-24 12:22:19 -07:00
Manish Goregaokar
43ea9e0e4a cleanup: Remove Rc from BaseAudioContext 2018-08-24 12:22:19 -07:00
Manish Goregaokar
9228ca3a02 Add AudioListener DOM interface 2018-08-24 08:33:22 -07:00
Fernando Jiménez Moreno
6aaf5806b1 OfflineAudioContext 2018-07-30 14:23:48 +02:00
Fernando Jiménez Moreno
1649b6a528 Fix build errors after rebase 2018-07-30 14:23:45 +02:00
Fernando Jiménez Moreno
21cb160be3 test-tidy fixes 2018-07-30 14:21:48 +02:00
Fernando Jiménez Moreno
f0a691e474 Update servo-media after crate split up. Allows building for Android 2018-07-30 14:21:48 +02:00
Fernando Jiménez Moreno
b68c791b8d Remove unimplemented PeriodicWave stub 2018-07-30 14:21:48 +02:00
Fernando Jiménez Moreno
ebcbe2ff7d Mark DecodeResolver as must_root 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
b26a3bd31b rustfmt 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
8f9a081ff0 Fix Trusted usage in audio decoder to queue tasks (#3) 2018-07-30 14:21:44 +02:00
Fernando Jiménez Moreno
911b8ebd79 Remove unsafe code to create empty AudioNodeOptions 2018-07-30 14:21:44 +02:00
Fernando Jiménez Moreno
b87fc17b4b decodeAudioData 2018-07-30 14:21:44 +02:00
Fernando Jiménez Moreno
356d7fd7a6 createBufferSource and buffer setter on buffer source node 2018-07-30 14:21:43 +02:00
Fernando Jiménez Moreno
25a74a75ea Create AudioBuffer from BaseAudioContext 2018-07-30 14:21:42 +02:00
Fernando Jiménez Moreno
0e92efbb79 BaseAudioContext.CreateGain() 2018-07-30 14:21:42 +02:00
Fernando Jiménez Moreno
97aa142993 Queue statechange event 2018-07-30 14:21:41 +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
9f15bdd6cc AudioContext.suspend() implementation 2018-07-30 14:21:39 +02:00
Fernando Jiménez Moreno
01f3951c66 AudioContext.resume() implementation 2018-07-30 14:21:39 +02:00
Fernando Jiménez Moreno
547e6e84b0 Use audio graph processing state 2018-07-30 14:21:39 +02:00
Fernando Jiménez Moreno
03dede3abb Get audio context current time from audio graph 2018-07-30 14:21:39 +02:00
Fernando Jiménez Moreno
98741ddf84 AudioContext construction 2018-07-30 14:21:38 +02:00
Fernando Jiménez Moreno
7e04031a95 Expose BaseAudioContext.state 2018-07-30 14:21:38 +02:00
Fernando Jiménez Moreno
db52d1f65c Audio context options 2018-07-30 14:21:38 +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
4602951656 Update to use latest servo-media 2018-07-30 14:21:37 +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
d8365111c9 Test OscillatorNode with servo_media 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