Commit Graph

762 Commits

Author SHA1 Message Date
Andrea Marchesini
e34a8dbb77 Bug 983984 - Default AudioChannel from a pref, r=ehsan, r=roc, r=mchen 2014-03-20 10:45:55 +00:00
Chris Peterson
2dc899293f Bug 984071 - Part 1: Fix unused variable warning in content/media/webaudio. r=padenot 2014-03-17 20:11:24 -07:00
Neil Rashbrook
c3b2f90f39 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c0dba87922 Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
b07eaa1644 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Brian Hackett
b76edd36de Bug 979480 - Don't store array buffer contents in elements, r=sfink. 2014-03-17 11:46:04 -06:00
Kyle Huey
84360900b0 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Jeff Walden
398b26dd19 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
ffc1a58e54 Bug 979480 - Don't store array buffer contents in elements, r=sfink. 2014-03-14 12:18:14 -06:00
Paul Adenot
d8a22556ad 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
086e8d6332 Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-12 11:41:08 -04:00
Andrea Marchesini
ba16597c3e Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-11 10:46:55 +00:00
Andrea Marchesini
a76825ad9f Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen 2014-03-11 10:46:04 +00:00
Ehsan Akhgari
e0fd10ac9b Bug 981931 - Stop leaking the allocated buffers in PeriodicWave::createBandLimitedTables; r=padenot 2014-03-11 00:41:19 -04:00
Chris Pearce
5e594c8460 Bug 973408 - Set MediaDecoderReaders idle when they're not decoding. r=kinetik 2014-03-11 11:44:10 +08:00
Ed Morley
8d91261c3c Backed out changeset d86a702e24c0 (bug 923247) for build failures; CLOSED TREE 2014-03-10 17:04:25 +00:00
Ed Morley
b0b98b2931 Backed out changeset 98f7e8789561 (bug 923247) 2014-03-10 17:04:04 +00:00
Andrea Marchesini
5c90d4d8c7 Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-10 16:36:15 +00:00
Andrea Marchesini
9202ffb069 Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen 2014-03-10 16:36:07 +00:00
Sotaro Ikeda
076823fffe Bug 981112 - Destruct MediaDecoderReader first r=padenot 2014-03-09 14:27:15 -07:00
David Major
f6b8329614 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
9a59a5c96d Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Karl Tomlinson
1397acbcd8 b=973782 revert 8e574d7a951a, intermittently failing test from bug 938022 DONTBUILD 2014-03-06 13:24:10 +13:00
Karl Tomlinson
fa1b0f45b5 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
b4dd408494 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
d26caa0d74 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
2bb6ffd9ed 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
79c3c64319 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
0935b39ced 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
ce878a5735 b=857610 test DelayNode channel count changes
--HG--
extra : rebase_source : 99dbe2400b972fa7f0d331ae35be07f52d81071e
2014-03-05 10:06:56 +13:00
Karl Tomlinson
5056403e1d 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
0e1f8fec08 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
ab2f28f9b2 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
5b63b395f3 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
4d3c709951 Bug 976471 - Implement AnalyserNode.getFloatTimeDomainData(). r=karlt
--HG--
extra : rebase_source : cfe6f31f7991c84cf8e0f2679cd89560260d0f40
2014-02-25 11:30:48 +01:00
Tony Young
d0cd38a57c test for bug 972678
--HG--
extra : rebase_source : 60639d14b248ec457a42112aa501ded2739d980e
2014-02-27 11:45:04 +13:00
Karl Tomlinson
59a9465d27 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
a671ab1fb8 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
f4dadd97b6 test for bug 938022
--HG--
extra : rebase_source : 69a7203cb040ef6b33666c2444b8df043dbf7f32
2014-02-24 12:41:47 +13:00
Bobby Holley
2f86bccb4a 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
8212be10db Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 21:33:49 -05:00
Ehsan Akhgari
38bc15e991 Bug 821062 - Share a decoding thread pool for all AudioContexts; r=padenot 2014-02-20 09:02:14 -05:00
Karl Tomlinson
24b6ab6b01 b=966322 work around bug 916387 DONTBUILD
--HG--
extra : rebase_source : 8c99076c2fdcf1f94eeaab085cc898346d189a1a
2014-02-20 14:58:09 +13:00
Karl Tomlinson
92cd82331a 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
66df21adab 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
e5233b66f3 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
8971d1632f 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
d1a7d9494a 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
4cf7005ef5 b=973782 revert 8e574d7a951a, failing test from bug 938022 DONTBUILD 2014-02-18 21:31:55 +13:00
Karl Tomlinson
4af52e154d 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