Commit Graph

755 Commits

Author SHA1 Message Date
Jeff Walden
45fbbba5b9 Back out b80f97b00d2f (bug 979480), it's in the way of more immediately important work. r=backout 2014-03-14 16:07:43 -07:00
Brian Hackett
c9183d3fae Bug 979480 - Don't store array buffer contents in elements, r=sfink. 2014-03-14 12:18:14 -06:00
Paul Adenot
8d09c94c90 Bug 982541 - Update OscillatorNode.{start, stop} to have the first argument optional and default to zero. r=ehsan 2014-03-13 14:51:41 +08:00
Vaibhav Agarwal
910cf28c11 Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-12 11:41:08 -04:00
Andrea Marchesini
47c5c73d70 Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-11 10:46:55 +00:00
Andrea Marchesini
c68b0b05cf Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen 2014-03-11 10:46:04 +00:00
Ehsan Akhgari
7361571aea Bug 981931 - Stop leaking the allocated buffers in PeriodicWave::createBandLimitedTables; r=padenot 2014-03-11 00:41:19 -04:00
Chris Pearce
6b29454867 Bug 973408 - Set MediaDecoderReaders idle when they're not decoding. r=kinetik 2014-03-11 11:44:10 +08:00
Ed Morley
18e659d594 Backed out changeset d86a702e24c0 (bug 923247) for build failures; CLOSED TREE 2014-03-10 17:04:25 +00:00
Ed Morley
98cffb45bb Backed out changeset 98f7e8789561 (bug 923247) 2014-03-10 17:04:04 +00:00
Andrea Marchesini
957cd4aa97 Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-10 16:36:15 +00:00
Andrea Marchesini
af673bd5ac Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen 2014-03-10 16:36:07 +00:00
Sotaro Ikeda
1cfc388ae8 Bug 981112 - Destruct MediaDecoderReader first r=padenot 2014-03-09 14:27:15 -07:00
David Major
c895398cd1 Bug 980524: Increase test's fuzzTolerance to accommodate VS2013. r=ehsan
--HG--
extra : rebase_source : 4ebb7cb84a04d03eb8f02587664bfa115a6e78d1
2014-03-07 13:39:13 -08:00
Vaibhav Agarwal
64e20261db Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Karl Tomlinson
c181546a58 b=973782 revert 8e574d7a951a, intermittently failing test from bug 938022 DONTBUILD 2014-03-06 13:24:10 +13:00
Karl Tomlinson
9900cfe3cc b=865241 test HRTF panner left/right symmetry and block-offset invariance
--HG--
extra : transplant_source : Z%7E%83XS%0Ck%09%00%0A%CA%D9%FF%B8%D3%9E%FB%D72j
2014-03-06 13:16:37 +13:00
Wes Kocher
341a6e1a03 Backed out changeset f814a1a08de6 (bug 865241) for failing at least once per push since the test landed 2014-03-04 18:22:18 -08:00
Masayuki Nakano
08a11f7934 Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Karl Tomlinson
f750989023 b=932400 rename ProduceAudioBlock to ProcessBlock r=padenot
--HG--
rename : content/media/webaudio/DelayProcessor.cpp => content/media/webaudio/DelayBuffer.cpp
extra : rebase_source : ebdc7404c8d27e3a24098f21a7752df529bb44c9
2014-03-05 10:09:49 +13:00
Karl Tomlinson
30acdbb926 b=932400 allow DelayNodeEngine to produce output before input r=padenot
--HG--
extra : rebase_source : 73991e2d1438862e05bb5a299a6f90935c4a51b2
2014-03-05 10:06:57 +13:00
Karl Tomlinson
da3263b6c1 b=857610 handle DelayNode channel count changes and separate buffer read and write r=padenot
The basic idea is to write out the signal that came in with the same number of
channels as it had when it came in.  Things get a bit more complicated when
one output block may be derived from more than one input block, each having
different numbers of channels.  When this happens, the input blocks with fewer
channels are upmixed, so as not to lose (or distort) any signal in the block
with more channels.

HRTFPanner no longer uses exponential decay (with time constant 20ms) for
delay changes, but a smoother linear transition during cross-fade time (~45ms).

--HG--
rename : content/media/webaudio/DelayProcessor.cpp => content/media/webaudio/DelayBuffer.cpp
rename : content/media/webaudio/DelayProcessor.h => content/media/webaudio/DelayBuffer.h
extra : rebase_source : 18453d631779cd7d0672b5325e110b107ab4237d
2014-03-05 10:06:57 +13:00
Karl Tomlinson
b1e326d287 b=857610 test DelayNode channel count changes
--HG--
extra : rebase_source : 99dbe2400b972fa7f0d331ae35be07f52d81071e
2014-03-05 10:06:56 +13:00
Karl Tomlinson
ea3c0eec18 b=865241 test HRTF panner left/right symmetry and block-offset invariance
--HG--
extra : rebase_source : 95ae651bd082760bfa5b6e45f5439408419473ad
2014-03-05 10:06:44 +13:00
Karl Tomlinson
0eb63bd381 b=857610 optimize delay clamping a little, by clamping in only one place r=padenot
--HG--
rename : content/media/webaudio/DelayProcessor.cpp => content/media/webaudio/DelayBuffer.cpp
rename : content/media/webaudio/DelayProcessor.h => content/media/webaudio/DelayBuffer.h
extra : rebase_source : 48d60cb003205a550504bcd0042ef73fc8727f97
2014-03-03 12:49:46 +13:00
Karl Tomlinson
83baad2302 b=857610 remove unnecessary HRTFPanner loop as a block is always the same size r=padenot
--HG--
extra : rebase_source : 6325ac6ad4ee25c6b0facaaec27d1a0a25772107
2014-03-03 12:49:45 +13:00
Karl Tomlinson
b4147c8c5c b=857610 rename DelayProcessor to DelayBuffer r=padenot
--HG--
rename : content/media/webaudio/DelayProcessor.cpp => content/media/webaudio/DelayBuffer.cpp
rename : content/media/webaudio/DelayProcessor.h => content/media/webaudio/DelayBuffer.h
extra : rebase_source : be71a5abbcf067f513fbaf2967745e80383d285f
2014-03-03 12:49:45 +13:00
Paul Adenot
0cd6654de1 Bug 976471 - Implement AnalyserNode.getFloatTimeDomainData(). r=karlt
--HG--
extra : rebase_source : cfe6f31f7991c84cf8e0f2679cd89560260d0f40
2014-02-25 11:30:48 +01:00
Tony Young
7a35e5fae0 test for bug 972678
--HG--
extra : rebase_source : 60639d14b248ec457a42112aa501ded2739d980e
2014-02-27 11:45:04 +13:00
Karl Tomlinson
75881c5ca5 b=913854 pass start time as double parameter and subsample align r=padenot
The subsample alignment of resampled buffers provides seamless playback even
when buffer durations are not an integer number of track ticks.

--HG--
extra : rebase_source : 0fcd52e8a9560de881aa73931cf22a02f984d748
2014-02-27 11:45:04 +13:00
Karl Tomlinson
d68f21ee08 b=913854 capture the full extent of the resampling filter r=padenot
The resampling filter means that the buffer influences a greater number of
samples than indicated by just its length.  Including the full influence of
the linear filter means that adjacent buffers aligned appropriately will
behave as if they were one extended buffer.

The buffers are not yet aligned more carefully than track ticks, so buffers
play back seamlessly only if their sample rates and lengths are such that
their duration is an integer number of track ticks.

Knowing how far the filter extends before the start time requires
initializing the resampler before buffer processing.

The patch also includes the input latency in the first resampler input
buffer sample count estimate to reduce the number to calls required
to start the resampler.

--HG--
extra : rebase_source : 16d5af79bc5621be830f5956b51f7ff59d490575
2014-02-27 11:45:03 +13:00
Tony Young
2e56670ab5 test for bug 938022
--HG--
extra : rebase_source : 69a7203cb040ef6b33666c2444b8df043dbf7f32
2014-02-24 12:41:47 +13:00
Bobby Holley
2bbdf9b30b Bug 976105 - Remove test-suite dependency on unprivileged calls to constructor-as-function. r=bz 2014-02-24 14:40:21 -08:00
Ehsan Akhgari
5704b555e2 Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 21:33:49 -05:00
Ehsan Akhgari
492c419c55 Bug 821062 - Share a decoding thread pool for all AudioContexts; r=padenot 2014-02-20 09:02:14 -05:00
Karl Tomlinson
b80eba9af0 b=966322 work around bug 916387 DONTBUILD
--HG--
extra : rebase_source : 8c99076c2fdcf1f94eeaab085cc898346d189a1a
2014-02-20 14:58:09 +13:00
Karl Tomlinson
9b37d054ab more debug logging for bug 966322 DONTBUILD
--HG--
extra : transplant_source : %80%DF%2C%22%06%0B7%D5%E4%12%84%D0%E8%20%95%F15%8F/%81
2014-02-20 13:15:58 +13:00
Karl Tomlinson
286cf86a4e remove debugging dump() accidentally added in bug 923301
--HG--
extra : transplant_source : %9Bg%E0%7F%CEH%60%E8%23%06%5B%28kMa%BF%A2%84%0A%DC
2014-02-19 17:39:38 +13:00
Karl Tomlinson
a1bd7840b8 remove debugging dump() accidentally added in bug 931311
--HG--
extra : transplant_source : %A9%3B%3C%18%D1%5Dh%12%9A%7F%9BB%98S%F1%8F%92%5E%60%3A
2014-02-19 17:37:34 +13:00
Karl Tomlinson
d95f8969a9 b=966322 use dump instead of ok to work around bug 974073
--HG--
extra : transplant_source : %40%C5f%FCr%C5%1F%82%15%0C%AE%FB%2B%5Bs%EB%EE%D02%FF
2014-02-19 17:34:11 +13:00
Karl Tomlinson
9b1cee829f b=966322 remove unnecessary webaudio.js script include
--HG--
extra : transplant_source : %C7%9E%14%A0%DD%D5%AE%23%F2.-%DAT6%D4%0D%95c%0B%B6
2014-02-19 17:28:59 +13:00
Karl Tomlinson
a9f43c115f b=973782 revert 8e574d7a951a, failing test from bug 938022 DONTBUILD 2014-02-18 21:31:55 +13:00
Karl Tomlinson
b4bcb7ce99 debug logging for bug 966322
--HG--
extra : transplant_source : %F1%F9%BF%04%A3%10W%E1%22%E21%05%92%B9%5B%FCd%13%D4%BA
2014-02-18 17:40:58 +13:00
Tony Young
229f24fdcf test for bug 938022
--HG--
extra : transplant_source : %FE%A1%93%10%AE%86C%F7G%00%9B%E3Y%F7%08%DF%A26%1A%5B
2014-02-18 10:17:29 +13:00
Tony Young
c5c38cd75f test for bug 956489
--HG--
extra : transplant_source : D%29%7CvI%1D%BC%B4%A8%10%02%F5%BF%ECV%D2%7C%1C%27%B8
2014-02-17 09:47:39 +13:00
Karl Tomlinson
9d91e4723c b=972678 move stream time methods from WebAudioUtils to AudioNodeStream r=padenot
Trying to clear up which stream parameter is which.

--HG--
extra : transplant_source : D%94%23%60M%82%7E%D8%FF%8A%D3%C8%9F%25%D6%7E%EA%19%80%E9
2014-02-17 09:46:56 +13:00
Tony Young
a658447db2 test for bug 964376
--HG--
extra : transplant_source : %5D%1C%AD%A5%8D%BCT%11%CAR%1F%A3O%1B3%E33%E7%81%DE
2014-02-14 17:48:34 +13:00
Ted Mielczarek
79ca8d245f Bug 968837 - Move more Mochitests into manifests. r=jmaher
--HG--
rename : toolkit/components/places/tests/browser/bug_399606/399606-history.go-0.html => toolkit/components/places/tests/browser/399606-history.go-0.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-httprefresh.html => toolkit/components/places/tests/browser/399606-httprefresh.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-location.reload.html => toolkit/components/places/tests/browser/399606-location.reload.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-location.replace.html => toolkit/components/places/tests/browser/399606-location.replace.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-window.location.href.html => toolkit/components/places/tests/browser/399606-window.location.href.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-window.location.html => toolkit/components/places/tests/browser/399606-window.location.html
rename : toolkit/components/places/tests/browser/visituri/begin.html => toolkit/components/places/tests/browser/begin.html
rename : toolkit/components/places/tests/browser/visituri/final.html => toolkit/components/places/tests/browser/final.html
rename : toolkit/components/places/tests/browser/visituri/redirect_once.sjs => toolkit/components/places/tests/browser/redirect_once.sjs
rename : toolkit/components/places/tests/browser/visituri/redirect_twice.sjs => toolkit/components/places/tests/browser/redirect_twice.sjs
rename : toolkit/components/places/tests/browser/settitle/title1.html => toolkit/components/places/tests/browser/title1.html
rename : toolkit/components/places/tests/browser/settitle/title2.html => toolkit/components/places/tests/browser/title2.html
rename : toolkit/components/places/tests/mochitest/bug94514-postpage.html => toolkit/components/places/tests/bug94514-postpage.html
rename : toolkit/components/places/tests/mochitest/test_bug_411966.html => toolkit/components/places/tests/test_bug_411966.html
rename : toolkit/components/places/tests/mochitest/test_bug_461710_perwindowpb.html => toolkit/components/places/tests/test_bug_461710_perwindowpb.html
rename : toolkit/components/places/tests/mochitest/test_bug_94514.html => toolkit/components/places/tests/test_bug_94514.html
2014-02-06 15:37:30 -05:00
Birunthan Mohanathas
d07d624561 Bug 963056 - Part 1: Name unnamed struct in IRC_Composite_C_R0195-incl.cpp. r=ehsan 2014-02-11 13:31:57 -05:00
Karl Tomlinson
e64c4d709d b=967972 avoid overflow in buffer position when looping r=padenot
As a side-effect, the buffer playback will now continue from the same buffer
sample number (even when looping), where possible, in the following situations:

* Changing the loop start or end parameters.

* Changing the buffer to one of a different sample rate.

--HG--
extra : transplant_source : 2%11%7Dm%92pu%60%E3G%D4%D4%DB0%2B%20%9A%1Bd%FA
2014-02-11 11:19:26 +13:00