Michael Layzell
62918c47a1
Bug 1279092 - Wait for the webaudio-node-demise event, r=padenot
2016-06-24 12:49:51 -04:00
Karl Tomlinson
8f6ffacf7d
bug 1213313 set mComputedValue for each tick so that SetTarget values are calculated correctly r=padenot
...
from mLastComputedValue.
MozReview-Commit-ID: 28lYzlarp8U
--HG--
extra : rebase_source : fc8aca3718d9857b75cd835ffac1940d20e9d943
2016-06-21 18:02:06 +12:00
Karl Tomlinson
470d8c9d1d
bug 1257718 replace bailOut variable with more descriptive timeMatchesEventIndex r=padenot
...
with the new variable matching the loop exit status of interest.
MozReview-Commit-ID: 8xy5ipo4trp
--HG--
extra : rebase_source : e951177af0699a550a4fb56a6192720207e74cb2
2016-06-21 17:48:31 +12:00
Karl Tomlinson
5d244c17fc
bug 1257718 look for new events as time advances r=padenot
...
|bailout| is reset for each aTime, so that the appropriate events for that
time can be found.
The |eventIndex| loop is adjusted so that, when it is re-entered, it keeps
the current set of events if they are appropriate (instead of advancing
every time it is entered).
|previous| and |next| are now advanced even when passing the last event,
removing the special case when past all events.
MozReview-Commit-ID: 8ZSIzKKGQbd
--HG--
extra : rebase_source : bfc899287abaf12d5cdbfbc1b22d6626ab2299dd
2016-06-21 17:01:18 +12:00
Karl Tomlinson
ba91bfca8e
bug 1257718 use is() for comparison with more info on failure than ok() r=padenot
...
MozReview-Commit-ID: 3XgQCq4Gg0S
--HG--
extra : rebase_source : 35a4c0c8a626350f96ba0d2359b28f557235aae4
2016-06-17 14:28:39 +12:00
Karl Tomlinson
b92cb079fc
bug 1257718 introduce function-scope TimeOf() to simplify templated event time getter calls r=padenot
...
MozReview-Commit-ID: 7uKqlT2BpcS
--HG--
extra : rebase_source : 2670536946bde0e1a6911bacbaa68d1c636e6455
2016-06-17 10:54:54 +12:00
Karl Tomlinson
fc997c1ba1
bug 1257718 rename lastEventId to eventIndex r=padenot
...
This is not necessarily related to the last event and it is not the
previous event.
MozReview-Commit-ID: 6hhv184BHfg
--HG--
extra : rebase_source : 8013606e27a159bb2598217db40df926539227c6
2016-06-17 09:36:24 +12:00
Karl Tomlinson
9d3453793f
bug 1257718 don't export implementation of complex timeline methods r=padenot
...
This limits recompilation required when modifying the methods, and
makes the public interface easier to read.
MozReview-Commit-ID: Lo2f7xmIdGu
--HG--
rename : dom/media/webaudio/AudioEventTimeline.h => dom/media/webaudio/AudioEventTimeline.cpp
extra : rebase_source : 75586bb320dd2e5606e691919b1c6a7c48c2065f
2016-06-17 05:26:13 +12:00
Karl Tomlinson
6fca9ca1b9
bug 1257718 move comment to within the code path it describes r=padenot
...
The comment was not necessarily true where it was previously positioned.
MozReview-Commit-ID: FMYkGkmuvVS
--HG--
extra : rebase_source : a6ae6958b9486c92c7830fcc334dac66c643dc29
2016-06-17 03:29:40 +12:00
Dan Minor
1b06c54c9f
Bug 1276483
- Fix WaveShaper when connected from a silent GainNode; r=padenot
...
MozReview-Commit-ID: CUEO6PDwo5B
--HG--
extra : rebase_source : 4ef158a3bf8f9752d584982b01f0ad3e66ac3fe4
2016-06-20 10:42:50 -04:00
Dan Minor
0c66b656d9
Bug 1265395
- Implement new high pass filter equation; r=padenot
...
If run against the version of the test using the old equations, 8 of the
26460 values would be larger than the maximum difference threshold, so I
updated the test code to use the new equations as well.
MozReview-Commit-ID: 7gJb8rFQPq1
--HG--
extra : rebase_source : 53e13932e05053355e5f3fe69d06aa007c9314ac
2016-05-16 15:16:17 -04:00
Dan Minor
bdb8a133ee
Bug 1265395
- Implement new low pass filter equation; r=padenot
...
If run against the version of the test using the old equations, 18 of the
26460 values would be larger than the maximum difference threshold, so I
updated the test code to use the new equations as well.
I also had to make a small increase to the maximum allowable glitch for
the tail test.
MozReview-Commit-ID: LrB3HufFWpJ
--HG--
extra : rebase_source : 5b011653b3c0d8a00c2a96185c703b5457058936
2016-06-08 12:49:40 -04:00
Dan Minor
b01574924b
Bug 1265395
- Use blink biquad filter tests; r=padenot
...
MozReview-Commit-ID: 3cOAraspIR4
--HG--
rename : dom/media/webaudio/test/blink/biquad-allpass.html => dom/media/webaudio/test/blink/test_biquadFilterNodeAllPass.html
rename : dom/media/webaudio/test/blink/biquad-automation.html => dom/media/webaudio/test/blink/test_biquadFilterNodeAutomation.html
rename : dom/media/webaudio/test/blink/biquad-bandpass.html => dom/media/webaudio/test/blink/test_biquadFilterNodeBandPass.html
rename : dom/media/webaudio/test/blink/biquad-getFrequencyResponse.html => dom/media/webaudio/test/blink/test_biquadFilterNodeGetFrequencyResponse.html
rename : dom/media/webaudio/test/blink/biquad-highpass.html => dom/media/webaudio/test/blink/test_biquadFilterNodeHighPass.html
rename : dom/media/webaudio/test/blink/biquad-highshelf.html => dom/media/webaudio/test/blink/test_biquadFilterNodeHighShelf.html
rename : dom/media/webaudio/test/blink/biquad-lowpass.html => dom/media/webaudio/test/blink/test_biquadFilterNodeLowPass.html
rename : dom/media/webaudio/test/blink/biquad-lowshelf.html => dom/media/webaudio/test/blink/test_biquadFilterNodeLowShelf.html
rename : dom/media/webaudio/test/blink/biquad-notch.html => dom/media/webaudio/test/blink/test_biquadFilterNodeNotch.html
rename : dom/media/webaudio/test/blink/biquad-peaking.html => dom/media/webaudio/test/blink/test_biquadFilterNodePeaking.html
rename : dom/media/webaudio/test/blink/biquad-tail.html => dom/media/webaudio/test/blink/test_biquadFilterNodeTail.html
extra : rebase_source : 3fff8a2e63593efee1e93ec3780ed86541376c88
2016-06-08 14:37:21 -04:00
Dan Minor
ee7445c176
Bug 1265395
- Import blink biquad filter tests; r=padenot
...
Imported from git revision b1fd9cf76c2e80540100262b09911600936f2ae3.
MozReview-Commit-ID: HzfHxOExJxq
--HG--
extra : rebase_source : 977261aefc956d0f6e733eacc5c7c17a2bb29236
2016-05-13 10:36:41 -04:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Dan Minor
967be91752
Bug 1261168 - Add AlignedAutoTArray type in Web Audio; r=padenot
...
MozReview-Commit-ID: uQfTWkzKKB
--HG--
extra : rebase_source : c733e8bd17db57acaa0f0be4eefbf144ed2629af
2016-05-17 15:47:56 -04:00
Michael Layzell
b0efb7ddb3
Bug 1181073
- Relax setTimeout throttling for background tabs using web audio, r=bkelly
2016-06-07 18:05:55 -04:00
Dan Minor
072334bcdb
Bug 1265408 - Log biquad channel change warning to console; r=padenot
...
MozReview-Commit-ID: G16wgfKr4I6
--HG--
extra : rebase_source : d4c205b6d30c9d583e2f9f76cdb06b6b32f1500f
extra : source : 5aa770304f2a519fda0989790b2d059d85a1db58
2016-06-03 14:17:41 -04:00
Dan Minor
c2d0856c53
Bug 1265408 - Use blink IIRFilterNode tests; r=padenot
...
MozReview-Commit-ID: 972FZ6lC7vr
--HG--
rename : dom/media/webaudio/test/blink/iirfilter.html => dom/media/webaudio/test/blink/test_iirFilterNode.html
rename : dom/media/webaudio/test/blink/iirfilter-getFrequencyResponse.html => dom/media/webaudio/test/blink/test_iirFilterNodeGetFrequencyResponse.html
extra : rebase_source : 3a667012669eda8d166692a13fbb2845506a8914
extra : source : 465412cecc515aa2c3d52239d8fd8c02f033b318
2016-05-06 15:07:11 -04:00
Dan Minor
7ab383e609
Bug 1265408 - Import blink IIRFilterNode tests; r=padenot
...
Imported from git revision 57f70919a0a3da5ba002b896778b580986343e08.
MozReview-Commit-ID: 1HTS2AfgSEN
--HG--
extra : rebase_source : 84cb9a6e93d2960ea48e267d96ab3ee54f3cbb3f
extra : source : d7d5bbd33e0e94f6cb024680b9efe3494aa10f3c
2016-05-03 10:51:24 -04:00
Dan Minor
7c5f125b1c
Bug 1265408 - Avoid complex division in getFrequencyResponse; r=padenot
...
Using the division operator on std::complex values fails on our linux64
AWS test machines, yielding infinities and NaNs for valid inputs. Presumably
this could affect machines in the wild as well. This patch removes the use
of the division operator and replaces it with real operations.
MozReview-Commit-ID: 4s7xUf9ja0F
--HG--
extra : rebase_source : 9c1946c812be78aa25845402866795655bfc9af1
extra : source : 4dd3a54d766d9960319f6356064ccdd9d3feda88
2016-05-12 09:15:18 -04:00
Dan Minor
231c8ebb0a
Bug 1265408 - Add test for IIRFilterNode pass through; r=padenot
...
MozReview-Commit-ID: HbZJT1vEOo8
--HG--
extra : rebase_source : 04dd74427a8cac1b73935b7b64d4c7b6552d2477
extra : source : 24d271e05ae2268c96f1ffefe68a722b8b56765a
2016-05-12 09:23:28 -04:00
Dan Minor
399a5ec86f
Bug 1265408 - Implement IIRFilterNode; r=padenot
...
MozReview-Commit-ID: EZvTIwTDVPE
--HG--
extra : rebase_source : 82af34db0b5879020d32e760eb5a99fefd25f835
extra : source : 4bd3f7f5a431f9124b3a7ca6858980c4447cfdd9
2016-06-03 13:42:03 -04:00
Dan Minor
908021cb71
Bug 1265408 - Add LogToDeveloperConsole to WebAudioUtils; r=padenot
...
MozReview-Commit-ID: 2Zf59JjQX9u
--HG--
extra : rebase_source : 92f9b7923af18ad394c215774d3c9177f84942c7
extra : source : 1b0ec5cf4d30e4f1d738f98cef1cfa5157c5822e
2016-06-03 14:23:11 -04:00
Dan Minor
b2e65a7924
Bug 1265408 - Avoid subnormals in IIRFilter; r=karlt
...
MozReview-Commit-ID: F4NUE8834tM
--HG--
extra : rebase_source : 1a5d118f7aed0f4803bc83feda482f940218d65d
extra : source : 784521a9cc94ad399d1405ada007f06d255c6c29
2016-05-30 05:36:11 -04:00
Dan Minor
db283dba06
Bug 1265408 - Add buffersAreZero to IIRFilter; r=karlt
...
MozReview-Commit-ID: CM5x62GMXcj
--HG--
extra : rebase_source : 065b4a8d362ce4239e8bdf96c258ae147fd4b3c9
extra : source : 9ab327850c5fc9e21b41a29d091ba35ee69e454e
2016-05-31 09:28:06 -04:00
Dan Minor
6f4a6a5c03
Bug 1265408 - Use IIRFilter from blink; r=padenot
...
MozReview-Commit-ID: 5QUGMFcZ6ZI
--HG--
extra : rebase_source : 40e8fa6a5183d66a023bd14df0eefe8f245942f8
extra : source : 388a95b0520288b8377092a8e21dd1eebdf3a4e0
2016-05-10 10:46:40 -04:00
Dan Minor
c5fd0b4422
Bug 1265408 - Import IIRFilter from blink; r=padenot
...
Imported from git revision 57f70919a0a3da5ba002b896778b580986343e08.
MozReview-Commit-ID: 8QF0wWEHI8
--HG--
extra : rebase_source : 01e98737b7744a19988673f147fea27a42960f97
extra : source : 2d59146a43fedb8cecf73ab37e728763f7243215
2016-04-23 04:54:48 -04:00
Dan Minor
b3ffeb37b7
Bug 1265408 - Add webidl for IIRFilterNode; r=smaug
...
MozReview-Commit-ID: FdaXR22KwUf
--HG--
extra : rebase_source : cdebad52ab4770de7f733826fd580ec76828b58d
extra : source : 84fab8755ac9df83a36bce68070b9354f59d2a50
2016-06-07 05:50:16 -04:00
Wes Kocher
44c9e5473a
Backed out 13 changesets (bug 1265408) for test_interfaces bustage CLOSED TREE
...
Backed out changeset 5aa770304f2a (bug 1265408)
Backed out changeset 465412cecc51 (bug 1265408)
Backed out changeset d7d5bbd33e0e (bug 1265408)
Backed out changeset 4dd3a54d766d (bug 1265408)
Backed out changeset 24d271e05ae2 (bug 1265408)
Backed out changeset 56d602e3a9e6 (bug 1265408)
Backed out changeset 4bd3f7f5a431 (bug 1265408)
Backed out changeset 1b0ec5cf4d30 (bug 1265408)
Backed out changeset 784521a9cc94 (bug 1265408)
Backed out changeset 9ab327850c5f (bug 1265408)
Backed out changeset 388a95b05202 (bug 1265408)
Backed out changeset 2d59146a43fe (bug 1265408)
Backed out changeset 84fab8755ac9 (bug 1265408)
2016-06-06 12:09:14 -07:00
Dan Minor
e72edaf704
Bug 1265408 - Log biquad channel change warning to console; r=padenot
...
MozReview-Commit-ID: G16wgfKr4I6
--HG--
extra : rebase_source : 7c80e41af24a801f80ca9fb0ac389836e455e8c4
2016-06-03 14:17:41 -04:00
Dan Minor
86406e1e13
Bug 1265408 - Use blink IIRFilterNode tests; r=padenot
...
MozReview-Commit-ID: 972FZ6lC7vr
--HG--
rename : dom/media/webaudio/test/blink/iirfilter.html => dom/media/webaudio/test/blink/test_iirFilterNode.html
rename : dom/media/webaudio/test/blink/iirfilter-getFrequencyResponse.html => dom/media/webaudio/test/blink/test_iirFilterNodeGetFrequencyResponse.html
extra : rebase_source : f72140da18350771def483c73fa44eda3c0bf8bc
2016-05-06 15:07:11 -04:00
Dan Minor
7c022ed83f
Bug 1265408 - Import blink IIRFilterNode tests; r=padenot
...
Imported from git revision 57f70919a0a3da5ba002b896778b580986343e08.
MozReview-Commit-ID: 1HTS2AfgSEN
--HG--
extra : rebase_source : 53db59ffbeab76d19a983efd337394efc54b7737
2016-05-03 10:51:24 -04:00
Dan Minor
2b6abdb28d
Bug 1265408 - Avoid complex division in getFrequencyResponse; r=padenot
...
Using the division operator on std::complex values fails on our linux64
AWS test machines, yielding infinities and NaNs for valid inputs. Presumably
this could affect machines in the wild as well. This patch removes the use
of the division operator and replaces it with real operations.
MozReview-Commit-ID: 4s7xUf9ja0F
--HG--
extra : rebase_source : cdfee7070a50eefbf8e50aee3993cf8993cd32b4
2016-05-12 09:15:18 -04:00
Dan Minor
77a0cbd919
Bug 1265408 - Add test for IIRFilterNode pass through; r=padenot
...
MozReview-Commit-ID: HbZJT1vEOo8
--HG--
extra : rebase_source : bf9cda954254908e9fa3148e24761815be3efae2
2016-05-12 09:23:28 -04:00
Dan Minor
c846a288b4
Bug 1265408 - Implement IIRFilterNode; r=padenot
...
MozReview-Commit-ID: EZvTIwTDVPE
--HG--
extra : rebase_source : 2dddd4d387bd4ecb58bf5fa7dbd26d916a114c82
2016-06-03 13:42:03 -04:00
Dan Minor
8c9dd5b3be
Bug 1265408 - Add LogToDeveloperConsole to WebAudioUtils; r=padenot
...
MozReview-Commit-ID: 2Zf59JjQX9u
--HG--
extra : rebase_source : 8b3a228f853c1936d1f67c337874885bde3cc23f
2016-06-03 14:23:11 -04:00
Dan Minor
9242944484
Bug 1265408 - Avoid subnormals in IIRFilter; r=karlt
...
MozReview-Commit-ID: F4NUE8834tM
--HG--
extra : rebase_source : b2cdbe67760003adb0a4c12ba97e1fe461348af6
2016-05-30 05:36:11 -04:00
Dan Minor
63bac3a6eb
Bug 1265408 - Add buffersAreZero to IIRFilter; r=karlt
...
MozReview-Commit-ID: CM5x62GMXcj
--HG--
extra : rebase_source : 05b1b7a1fac3bffaf6e143c046ccd46d047248d3
2016-05-31 09:28:06 -04:00
Dan Minor
75164114ba
Bug 1265408 - Use IIRFilter from blink; r=padenot
...
MozReview-Commit-ID: 5QUGMFcZ6ZI
--HG--
extra : rebase_source : 93b36c58cc96867b25cff96035b8c7cc2c742117
2016-05-10 10:46:40 -04:00
Dan Minor
7438883f8d
Bug 1265408 - Import IIRFilter from blink; r=padenot
...
Imported from git revision 57f70919a0a3da5ba002b896778b580986343e08.
MozReview-Commit-ID: 8QF0wWEHI8
--HG--
extra : rebase_source : 27aee27da149883fe7c1c4b6067c6610b64033e0
2016-04-23 04:54:48 -04:00
Dan Minor
5b7dd78413
Bug 1265408 - Add webidl for IIRFilterNode; r=smaug
...
MozReview-Commit-ID: FdaXR22KwUf
--HG--
extra : rebase_source : 28dd38c8e755b9325875ba3a2e951daf7d5c011e
2016-04-26 13:59:11 -04:00
Andreas Pehrson
1d2085e59f
Bug 1275596 - Ignore ended tracks when selecting new track in MediaStreamAudioSourceNode and MediaElementSourceNode. r=padenot
...
This is how it was meant to work when the refactor landed in Bug 1208371.
We have no test coverage of seeking apparently.
MozReview-Commit-ID: IhyGbjctO7E
--HG--
extra : rebase_source : 70f1ab777d8f7d6632d24f7134415ad13f73d166
2016-05-26 15:56:58 +02:00
Randell Jesup
486d30379d
Bug 1274083: don't return early from rate changes if we overflow r=jmspeex
...
MozReview-Commit-ID: DVSp3VpiIJw
2016-05-20 01:53:27 -04:00
Wes Kocher
9f7d2279d9
Backed out changeset e96398029a1c (bug 1181073
) for failing the test it added CLOSED TREE
2016-05-19 10:17:55 -07:00
Michael Layzell
6274f21dc8
Bug 1181073
- Relax setTimeout throttling for background tabs using web audio, r=bkelly
2016-05-19 09:34:01 -04:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Dan Minor
de01c6c54d
Bug 1263910 - Make AudioBufferAddWithScale handle unaligned buffers; r=padenot
...
ReverbAccumulationBuffer often produces unaligned buffers due to the way
it wraps around results. This modifies AudioBufferAddWithScale on SSE2
platforms to handle unaligned buffers by performing scalar operations
until both the input and output buffers are aligned to 16 bytes. It then
does as many vector operations as possible and switches back to scalar
operations for anything that is left over.
This could also be done within the ReverbAccumulationBuffer code but doing
it directly within the AudioNodeEngine code makes it available to other
callers in the future, at the cost of a few extra branches in the case
where everything was aligned anyway.
MozReview-Commit-ID: Ky0uIe5LMVq
--HG--
extra : rebase_source : 0c9970807262c8a13be5ad866e470d78ff6c1bb9
2016-05-10 06:37:45 -04:00
Jean-Yves Avenard
d31cb0499b
Bug 1206637: P2. Replace all cached preferences with MediaPrefs ones. r=cpearce
...
Additionally, clean up stray and unused Preferences.h header.
MozReview-Commit-ID: IcPrD2inkDE
--HG--
extra : rebase_source : c3c6e37767627db3601090c2855a3dfa98cb4368
2016-05-10 11:02:28 +10:00
Dan Minor
b34705d0d2
Bug 1270055 - Add test for DynamicsCompressor with gain; r=karlt
...
MozReview-Commit-ID: 7vT7oaheZaS
--HG--
extra : rebase_source : 5885808d29139e468003b3414297494decf9ee1f
2016-05-05 09:20:52 -04:00