Paul Adenot
08fd7cd240
Bug 881092 - Test that we can decode multichannel WAVE file only when using decodeAudioData. r=ehsan
...
--HG--
extra : rebase_source : fe1cb35be9a1197b01a6c90654abd825f28a67e5
2013-08-29 11:44:05 +02:00
Paul Adenot
bacec95428
Bug 881092 - Allow decoding files we know we can't play, in the context of WebAudio. r=kinetik,rillian
...
--HG--
extra : rebase_source : ebad931aede2f8225404625e90a5f3228c4a31c0
2013-08-29 11:43:44 +02:00
Brian O'Keefe
4f68eb9b02
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Paul Adenot
c8ef7c71b8
Bug 908144 - Don't output sound before start() is called when using OscilatorNode. r=ehsan
2013-08-26 11:46:33 +02:00
Kyle Huey
de0ee30e74
Bug 903772: Part 3 - Refactor GlobalObject. r=peterv
2013-08-22 22:17:08 -07:00
Ms2ger
87ae95251c
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
2d7391b50d
Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey
2013-08-22 08:55:59 +02:00
Ms2ger
4d968c40e1
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ehsan Akhgari
1e7ca5d13f
Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst
2013-08-21 15:28:26 -04:00
Ralph Giles
437a387175
Bug 865253 - Part 5: Shorten a comment to fit in 80 columns. r=ehsan
2013-08-19 11:58:00 -07:00
Ralph Giles
fc6c1b487b
Bug 865253 - Part 4: Stop OscillatorNodes on context shutdown. r=ehsan
...
Like AudioBufferSourceNode and ScriptProcessorNode, OscillatorNode
holds a self-reference in mPlaying. Keep track of all osc nodes
in the AudioContext and explicitly stop them to make sure this
reference is dropped.
2013-08-19 11:57:00 -07:00
Ralph Giles
5c102b5da6
Bug 865253 - Part 3: Direct generation of fixed oscillator types. r=ehsan
...
Simple direct calculation of the fixed types.
We probably want to use the PeriodicWave machinery to generate
the pre-defined waveforms once it's available. In either case
we can optimize this significantly by caching the generated
waveform when the frequency is stationary over the block.
2013-08-19 11:56:00 -07:00
Ehsan Akhgari
d4b3957aa8
Bug 865253 - Part 2: Implement the alternate enum values for OscillatorNode; r=roc
2013-08-19 11:54:00 -07:00
Ehsan Akhgari
d3e93cd446
Bug 865253 - Part 1: Implement the DOM bindings for OscillatorNode; r=roc
2013-08-19 11:53:00 -07:00
Ehsan Akhgari
f678926c6d
Bug 905409 - Minimize the Web Audio #includes; r=roc
2013-08-15 15:44:14 -04:00
Wes Kocher
ff5292b3eb
Backed out changeset 016fa89e49b0 (bug 905409) on a CLOSED TREE
2013-08-14 17:21:45 -07:00
Ehsan Akhgari
c6ce65cf2e
Bug 905409 - Minimize the Web Audio #includes; r=roc
2013-08-14 18:46:00 -04:00
Paul Adenot
b14fe48e2a
Bug 899135 - Drop buffers in ScriptProcessorNode instead of buffering them when the main thread is blocked. r=roc
2013-08-13 19:34:22 +02:00
Ms2ger
df8525f77d
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Paul Adenot
e643bf2207
Bug 903476 - Fuzz a bit more and android as well.
...
--HG--
extra : rebase_source : 57d9a1ed3549a0c8a2af9fb8be42b5823f21a2ec
2013-08-13 15:56:42 +02:00
Paul Adenot
0b00e4ef84
Bug 903476 - Fuzz a bit more on win32.
...
--HG--
extra : rebase_source : 321848369a2f2401b1fcaf287bfbcd049a7c299c
2013-08-13 14:48:36 +02:00
Paul Adenot
66239a7ec2
Bug 903476 - Update the fuzzing values in test_mediaDecoding.html because we changed the resampler. r=ehsan
...
--HG--
extra : rebase_source : 3b354018ba83f53cf64d6adb511c41dfcb205039
2013-08-13 12:44:34 +02:00
Karl Tomlinson
b6833fc832
b=815643 Implement HRTF panner processing based on Blink implementation r=ehsan
...
--HG--
extra : rebase_source : 197fd6f39d3d45b61d25d9dc399c72828d93655a
2013-08-09 10:08:06 +12:00
Karl Tomlinson
5d662c0df1
b=815643 Add Blink's HRTFPanner to the build r=ehsan
...
--HG--
extra : rebase_source : 14187eb58d308c25b3ff37356a1aef6757aee81d
2013-08-09 10:07:49 +12:00
Karl Tomlinson
e37987a35d
b=815643 Refactor DelayNodeEngine delay processing into a shareable class r=ehsan
...
--HG--
extra : rebase_source : e25ff3e490c2cbce5ed7cdf9419ccc2850ea16e5
2013-08-09 10:07:49 +12:00
Karl Tomlinson
afd43adcd6
b=865241 don't join HRTFDatabaseLoader thread until it has finished r=ehsan
...
Also turn some always-true conditions into assertions.
--HG--
extra : rebase_source : a38b75a1a27f25cef7b9dd86a1cca15ce9f67893
2013-08-09 10:07:42 +12:00
Karl Tomlinson
2ea901aa4d
b=865241 make HRTFDatabaseLoader ref-counting thread-safe r=ehsan
...
--HG--
extra : rebase_source : 8cab96807c111eb103dbe931d14a86a8b97a824e
2013-08-09 09:59:56 +12:00
Karl Tomlinson
296268450d
b=815643 Add Blink's HRTFDatabase and HRTFDatabaseLoader to the build r=ehsan
...
--HG--
extra : rebase_source : e7aa0ce1ca436bbb429cb1f6051b3b8210bf767a
2013-08-09 09:56:28 +12:00
Karl Tomlinson
76ae42715c
b=815643 Add Blink's HRTFElevation to the build r=ehsan
...
--HG--
extra : rebase_source : 5dda0b6c6302197574ac5fafbb0f06b1ac65980a
2013-08-08 21:38:30 +12:00
Karl Tomlinson
f64e2297c1
b=815643 Reduce convolver fft size for low sample rates r=ehsan
...
--HG--
extra : rebase_source : 0d7c6d4a3bcb340fc674f0b4181cf264fcc4e041
2013-08-08 21:38:30 +12:00
Karl Tomlinson
b57bd542e2
b=815643 Add code to interpret and resample impulse response data r=ehsan
...
--HG--
extra : rebase_source : 35497353634022f297b2ebf333b7230b12c1f9c2
2013-08-08 21:38:30 +12:00
Karl Tomlinson
f68d252272
b=815643 Add HRTF impulse response data r=ehsan
...
The impulse response sample data is directly from individual impulse response wave files
in Blink SVN revision 153183.
--HG--
extra : rebase_source : 037471efd5be1f0d4a798bcc01192db9398377c2
2013-08-08 21:38:30 +12:00
Karl Tomlinson
715c2a763f
b=815643 Use symmetry to halve the number of HRTF kernels calculated and cached r=ehsan
...
--HG--
extra : rebase_source : 12e4a114630e793c22d3e335c38c641a6bc20ee2
2013-08-08 21:38:29 +12:00
Karl Tomlinson
8c052323df
b=815643 Add Blink's HRTFKernel to the build r=ehsan
...
A functional difference is that HRTFKernel is not reference-counted.
--HG--
extra : rebase_source : 66a9653fed75265ec55d915b731876bcb793d513
2013-08-08 21:38:29 +12:00
Karl Tomlinson
c3889975de
b=865241 always leave 20 samples of headroom when extracting group delay, removing the discontinuity at delay = 20 r=ehsan
...
--HG--
extra : rebase_source : 30515ea2236b7503ff7e446d50930f91135bc7e0
2013-08-08 21:38:29 +12:00
Karl Tomlinson
a8f2492870
b=815643 Add Blink's frequency interpolation and group delay methods from FFTFrame to FFTBlock r=ehsan
...
--HG--
extra : rebase_source : 1e3393c85f1828cbcce49af1e3160fc3535d39b8
2013-08-08 21:38:24 +12:00
Karl Tomlinson
c312f43e8d
b=865241 don't try to compute a phase for group delay from the DC and nyquist components of the DFT r=ehsan
...
Given imagP[0] is really realP[halfSize], it doesn't make sense to calculate a
phase from placing the DC and Nyquist components in different directions.
The DC component doesn't have a phase offset and lastPhase is already
initialized to zero.
This makes extractAverageGroupDelay() consistent with addConstantGroupDelay()
and to some extent interpolateFrequencyComponents().
The effect of the bug would have been small for reasonably sized FFTs.
--HG--
extra : rebase_source : b2931d625bd7e014f123b576f28aad7f719c585d
2013-08-08 21:37:36 +12:00
Karl Tomlinson
b03713d218
b=815643 remove unused HRTF code r=ehsan
...
--HG--
extra : rebase_source : f6063443b6e7574055b0ad92e95e32d7f0a850cd
2013-08-08 21:37:36 +12:00
Karl Tomlinson
9524af834b
b=815643 Import the HRTF panner implementation from Blink r=ehsan
...
This code was copied from Blink SVN revision 153183.
--HG--
extra : rebase_source : 968f69846f5c532eda3580c8ce2176e2e6b5fc63
2013-08-08 21:37:36 +12:00
Ryan VanderMeulen
8afe7e8fed
Merge inbound to m-c.
2013-08-09 19:08:45 -04:00
Nathan Froyd
32842a584e
Bug 901615 - don't include BindingUtils.h in AudioContext.h; r=roc
2013-08-05 13:40:06 -04:00
Paul Adenot
b07edfc4a2
Bug 897092 - Fix setTargetAtTime glitch. r=ehsan
...
--HG--
extra : rebase_source : 8b1162e7721637df2b8a2faad849609d3177369b
2013-08-09 15:11:03 +02:00
Robert O'Callahan
95d8c8d855
Bug 856361. Part 8: Fix copying of track data from input streams to output streams in AudioNodeExternalInputStream. r=padenot
...
--HG--
extra : rebase_source : 344780d9c27ce3026ae5c12a08ea6a1ba3b4e924
2013-08-01 16:02:49 +12:00
Ehsan Akhgari
33cdf48b64
Bug 855568 - Implement MediaElementAudioSourceNode
...
X-Git-Commit-ID: 52f1fcdd561e8214e6820a3f2478d9e8b9623430
--HG--
extra : rebase_source : c40cd0c7070dec9e0273093499228f13906f8fc5
2013-07-25 15:01:49 +12:00
Robert O'Callahan
3f1bcdc18d
Bug 856361. Part 6: Make MediaStreamAudioSourceNode keep its DOMMediaStream alive, and make the DOMMediaStream keep the MediaStreamAudioSourceNode alive. r=ehsan
...
--HG--
extra : rebase_source : 0e3b5108d8ced8b1f1f427c9fd4f87e97c46921d
2013-07-25 14:07:34 +12:00
secretrobotron
4535b91abc
Bug 856361. Part 5: Implement MediaStreamAudioSourceNode. r=ehsan
...
--HG--
extra : rebase_source : 265f31edda31a2f749eacc568919304622446748
2013-07-24 23:29:39 +12:00
JW Wang
dee2ecf218
Bug 875277 - Part 2: Implement WaveShaperNode.oversample - speex. r=ehsan
2013-08-06 14:11:32 +08:00
JW Wang
78371426cf
Bug 875277 - Part 1: Implement WaveShaperNode.oversample - webidl enums. r=ehsan
2013-08-06 14:15:07 +08:00
Ryan VanderMeulen
94cd7b2435
Backed out changesets aee6b1a6c400 and a633e4d67d31 (bug 875277) for bustage.
2013-08-05 20:47:07 -04:00
JW Wang
6792fdb826
Bug 875277 - Part 2: Implement WaveShaperNode.oversample - speex. r=ehsan
2013-08-05 10:34:52 +08:00