Граф коммитов

820 Коммитов

Автор SHA1 Сообщение Дата
Matthew Gregan f0efb94bfd Bug 1303083 - Make CubebUtils::PreferredSampleRate handle InitPreferredSampleRate failures. r=padenot 2016-09-18 16:32:22 +12:00
Makoto Kato 1ab5272de6 Bug 1298569 - Part 2. Replace -fpu=neon with CONFIG['NEON_FLAGS']. r=glandium
Use CONFIG['NEON_FLAGS'] on moz.build instead.

MozReview-Commit-ID: F6R532Hi5mg

--HG--
extra : rebase_source : 7243f316de3138c702f09b336f6d430e6c9c15b5
2016-09-14 18:34:19 +09:00
Jean-Yves Avenard a3d152a719 Bug 1299072: P7. Use MediaResult with MetadataPromise. r=jwwang
MozReview-Commit-ID: KrRr8wDuPNT

--HG--
extra : rebase_source : 3df3763890a55c898ca3f00dd914e3c78fe714b1
2016-09-10 19:56:50 +10:00
Jean-Yves Avenard c590867926 Bug 1299072: P6. Pass decoding error details to MDSM and relatives. r=jwwang
MozReview-Commit-ID: 4ow2nF6Syz

--HG--
extra : rebase_source : d8cc561f42ca774b3a2865042392fb4a6aea82fa
2016-09-10 16:48:53 +10:00
Wes Kocher 5cbc382303 Merge inbound to m-c a=merge 2016-09-07 17:54:24 -07:00
Andreas Pehrson 5c882b1fe8 Bug 1300529 - Remove default arguments from AudioNodeStream::Create. r=padenot
MozReview-Commit-ID: KG8PtBbJrc2

--HG--
extra : rebase_source : 4be41a0dff23a62dfa43699a1e0ebd8c429b41b7
2016-09-05 17:25:41 +02:00
Paul Adenot 36a828f198 Bug 1288359 - Add a pref to disable the Web Audio API. r=karlt,smaug
MozReview-Commit-ID: 6h37P9PctYW

--HG--
extra : rebase_source : c4ab6cfe7b8267e6529b10358e3e4102cce1f15f
2016-07-22 13:59:52 +02:00
Sebastian Hengst aaf35da4fc Backed out changeset 232069c62626 (bug 1286041) 2016-09-06 19:07:22 +02:00
Alex Chronopoulos 04d69510e8 Bug 1286041 - Ignore AudioContext state change to Suspended when in Closed. r=padenot
MozReview-Commit-ID: 2VCBMCdx5xz
2016-09-06 13:40:36 +02:00
Nicholas Nethercote b71747b2ac Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
The new name makes the sense of the condition much clearer. E.g. compare:

  NS_WARN_IF_FALSE(!rv.Failed());

with:

  NS_WARNING_ASSERTION(!rv.Failed());

The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.

--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Andrew McCreight cdcad29bd2 Bug 1296275 - Be better about exposing to active js in AudioBuffer::StealJSArrayDataIntoSharedChannels(). r=terrence
MozReview-Commit-ID: GC8sncFJlPS

--HG--
extra : rebase_source : 13603a66a9281fc42b59cc71f0793745a04755d9
2016-08-29 15:03:42 -07:00
Wes Kocher f78f2d693b Merge inbound to central, a=merge 2016-08-25 16:59:00 -07:00
Andreas Pehrson 9a907cfbfc Bug 1259788 - Add a new disabled mode for MSG tracks. r=jesup
MozReview-Commit-ID: 1dMTR4Wmcd8

--HG--
extra : rebase_source : 8c2ea262d53901a11ec5c0e5067f328461dee8f2
2016-08-15 14:19:42 +02:00
Andreas Pehrson 091e8c0b00 Bug 1259788 - Support MediaStream sources for HTMLMediaElement.mozCaptureStream(). r=jesup
This adds support for HTMLMediaElement.mozCaptureStream() and
mozCaptureStreamUntilEnded() for a HTMLMediaElement playing a MediaStream.

This is up to spec, while capturing a HTMLMediaElement playing a file is not.
This incompatibility means we cannot mix sources for the returned MediaStream.

As such, a MediaStream returned while the HTMLMediaElement was playing a file
will only have content while the element is playing files. If the src changes
to a MediaStream, the stream will be empty.

It works the same way if a MediaStream was captured while the HTMLMediaElement
was playing another MediaStream.

This is due to TrackID management - MediaDecoder doesn't care, and creates new
tracks when you seek, so users are unable to keep track, while for MediaStream
we control everything from main thread and keep track of the TrackIDs used
previously.

This also adds a separate path from MediaElementAudioSourceNode so that we don't
forward video tracks when the returned MediaStream is only used internally for
WebAudio. We should in that case not require a DOMMediaStream but just forwarding
tracks to a TrackUnionStream should be enough, and will save us some cpu cycles.
This is however fine for now as it's simpler.

MozReview-Commit-ID: Bg8hESDISDU

--HG--
extra : rebase_source : 83885a73ec8cfc5fbe3c30a9330a52cd6b6dff12
extra : source : f1aec79078869c0a6435a1c06957c649d7a40dd9
2016-08-23 17:51:50 +02:00
Andreas Pehrson 83dcc7266e Bug 1259788 - Break out AddTrackInternal() from DOMMediaStream::CreateDOMTrack. r=jesup
Sometimes a track is added to a stream synchronously (before the stream is
exposed to script), and sometimes asynchronously (see the mediacapture-main spec
on the "addtrack" event).

In the latter case we might still need to create the MediaStreamTrack object
synchronously for tracking purposes. CaptureStream of Media element playing a
MediaStream wants this.

MozReview-Commit-ID: 7me8xzN7rwj

--HG--
extra : rebase_source : 4f129b127b855e47aad2ae9ab3981ffde057412d
2016-08-12 13:50:41 +02:00
Nicholas Nethercote c2306345d5 Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.

The patch also does some associated clean-up.

- Replaces some uses of nsIMemoryReporterCallback with the preferred
  nsIHandleReportCallback typedef.

- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
  parameter names, for consistency.

- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.

- Uses the MOZ_COLLECT_REPORT macro in all suitable places.

Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.

--HG--
extra : rebase_source : e94323614bd10463a0c5134a7276238a7ca1cf23
2016-08-24 15:23:45 +10:00
Thomas Wisniewski 6c4149c011 Bug 1017704 - Move DropJSObjects into the destructor in AudioBuffer.cpp. r=mccr8
--HG--
extra : rebase_source : a4c5ee7e40bf26814df7b9397b9862fb08684069
2016-08-20 20:32:52 -04:00
Andreas Pehrson dc0f8c6c81 Bug 1295296 - Add a mochitest. r=jesup
MozReview-Commit-ID: OolLgdIQy9

--HG--
extra : rebase_source : ed1ba6c14885f17e1d11fb4cb76fe5184f9a0e2a
extra : source : 4c3c88e0fdc55930c9bc2c43667513932417d6c4
2016-08-18 18:39:19 +02:00
Wes Kocher a58f8b89a0 Merge m-c to inbound, a=merge 2016-08-18 16:32:58 -07:00
Wes Kocher 75891668b5 Merge m-c to fx-team, a=merge 2016-08-17 17:26:23 -07:00
Randell Jesup bb59c9e52f Backed out changeset 3fb31d11633e (bug 1295296) 2016-08-17 16:22:41 -04:00
Andreas Pehrson 0083eb9342 Bug 1295296 - Ignore video tracks in MediaStreamAudioSourceNode. r=jesup
MozReview-Commit-ID: 1NeFS5wIpxC

--HG--
extra : transplant_source : %CB%0A%A7c%5C%EF%9A%EA%E6D%AE%9C%8F%CC%16%3E%9E%9E2a
2016-08-17 14:26:47 +02:00
Andreas Pehrson 0dd38ea89e Bug 1295296 - Assert that we don't see video tracks in ExternalAudioInputStream. r=jesup
MozReview-Commit-ID: Cw7KMFhY5Ai

--HG--
extra : transplant_source : w_U%C6%0DVL%3F%22%03D%0F%8E%05%86%8A%97%D6%7C%8D
2016-08-17 14:26:15 +02:00
Andreas Pehrson 97c077fd3e Bug 1295296 - Add a mochitest. r=jesup
MozReview-Commit-ID: OolLgdIQy9

--HG--
extra : transplant_source : %87%0E%B2K%BFr%D4%2B%F4%B99r%F7%F3%92%BA%D3%90%A7%FD
2016-08-17 14:25:33 +02:00
Dan Minor 3de6cf478f Bug 1281382 - Fix setTargetAtTime using incorrect starting value when earlier event is skipped; r=karlt
This updates mLastComputedValue when removing events during the call to
CleanupEventsOlderThan.

MozReview-Commit-ID: 1Veyv8kLIna

--HG--
extra : rebase_source : 9ee9aeb458b60316f93616e3310ad26f9e85e79c
2016-08-12 14:57:19 -04:00
Wes Kocher 4aec37ca6e Merge m-c to autoland, a=merge 2016-08-12 16:30:03 -07:00
Nicholas Nethercote bab6d17ebf Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Dan Minor 37a83aa8e1 Bug 1113634 - Update mLastComputedValue in AudioEventTimeline when skipping events of same time; r=karlt
We need to update mLastComputedValue while processing events that occur at the
same time rather than just skipping over them.

MozReview-Commit-ID: LuxSK6PHFHv

--HG--
extra : rebase_source : be323da2a50ea32838aef322267115d153a14c3d
2016-08-08 16:00:35 -04:00
Kaku Kuo a6ed727230 Bug 1292091 - Part 2 - replace MaybeResolve(JS::UndefinedHandleValue) with MaybeResolveWithUndefined(); r=bz
MozReview-Commit-ID: KNbxVcCVqts

--HG--
extra : transplant_source : %1D%18%E5%C9o%F0%29%E7%E0%93%EEcR%C7B%3BeX%B3%87
2016-08-09 17:15:13 +08:00
Nicholas Nethercote e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Dan Minor de25516000 Bug 11130010 - Backout new AudioNode.disconnect methods; r=mreavy,karlt,smaug
MozReview-Commit-ID: AgHScRbICYU

--HG--
extra : rebase_source : 9ee0a1b35e5e292059f47fdea9f3782943b2ba5f
extra : amend_source : 40c16a7338c89cbce9ad550453fadbe1b7963aa0
2016-08-16 15:26:35 -04:00
Sebastian Hengst 8c139b8da8 Backed out changeset 74b1d84ac6aa (bug 1113634) for failing Cpp unit test TestAudioEventTimeline. r=backout 2016-08-11 17:30:54 +02:00
Dan Minor 540fbdb6bd Bug 1113634 - Update mLastComputedValue in AudioEventTimeline when skipping events of same time; r=karlt
MozReview-Commit-ID: LuxSK6PHFHv

--HG--
extra : rebase_source : 2f0a906e747f30a83aa7237850245c056e932bd6
2016-08-08 16:00:35 -04:00
Michael Layzell 2513a13f51 Bug 1291741 - Relax setTimeout throttling in background tabs when an AudioContext is present, rather than only when audio is playing, r=bkelly 2016-08-04 16:53:58 -04:00
JW Wang 32c54a1d7b Bug 1290028 - Remove the check for IsShutdown() from MediaDecoder::OwnerHasError(). r=gerald
MozReview-Commit-ID: Cg5UoFngxFr

--HG--
extra : rebase_source : afece4f66454cf7b2c68ede4b5802fc445be96fa
2016-07-28 17:21:09 +08:00
Gerald Squelart 7bea2e1262 Bug 1289668 - Refactor FrameStatistics writers to use Data struct - r=kamidphish
Decoders now use FrameStatisticsData to gather data for their frame-related
notifications. This will ease introducing new members later on.

MozReview-Commit-ID: DWdOSPX3JM

--HG--
extra : rebase_source : a3e05f34353a397d1c82b3f4d935c0864f90556e
2016-07-18 10:41:40 +10:00
Andrea Marchesini 60ab8339e0 Bug 1288736 - Add some missing rv.SuppressException(), r=smaug 2016-07-22 16:50:10 +02:00
Carsten "Tomcat" Book 8b6316ec5f Merge mozilla-central to mozilla-inbound 2016-07-22 11:59:06 +02:00
Carsten "Tomcat" Book 336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Andrew McCreight 623b56a3f1 Bug 1287143 - Remove the window argument to SpecialPowers.exactGC(). r=jmaher
Cu.forceCC() is the same as DOMWindowUtils.cycleCollect(), but does
not require a window.
2016-07-19 13:13:00 +08:00
Karl Tomlinson 791610c158 mochitest for bug 1255618 r=ehsan
--HG--
extra : transplant_source : %00%09%7E%28%2C%F2%AA%5E%BA0%F6K%0F%06%9A%9E%7C%91%CD%85
2016-03-14 16:58:18 +13:00
Karl Tomlinson 42c4a689dc bug 1242268 collect memory reports of AudioNode dom objects on the main thread r=padenot
This will permit allowing the main thread to run while collecting
reports from graph thread objects.

MozReview-Commit-ID: 7xChGz7xJ8M

--HG--
extra : rebase_source : a69dd197bfd3173c9a46979bac35e654d7d0771e
2016-07-01 18:46:34 +12:00
Karl Tomlinson c69534f446 bug 1242268 store a node type string pointer on engines and use that for memory reporting r=padenot
removing some off-main-thread usage of AudioNodeEngine::mNode.

MozReview-Commit-ID: GYgFzPJQjjm

--HG--
extra : rebase_source : 9c4697b27bdfee971d9502c4b0573cdb7c740774
2016-07-01 16:26:15 +12:00
Karl Tomlinson dc9ad2f5b2 bug 1242268 use pointers instead of copies of string literals in AudioNode memory reporting r=padenot
MozReview-Commit-ID: E85FGrmfOWI

--HG--
extra : rebase_source : 0895e91ca000164f70251ae0fbb61fcca39cbe56
2016-07-04 16:24:47 +12:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book 8428cd56e3 merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
Paul Adenot d408de78ad Bug 1130010 - Add tests for the new {AudioParam,AudioNode}.disconnect() methods. r=dminor
Initial patch by Thomas Escalon <tesc.bugzilla@gmail.com>.

MozReview-Commit-ID: 2cptcTYuzDQ
2016-07-18 18:53:24 +02:00
Jan-Ivar Bruaroey 594073da3e Bug 1213517 - make getUserMedia store initial constraints on resulting tracks. r=jesup
MozReview-Commit-ID: 291CrmVmq4x

--HG--
extra : rebase_source : d29e6996ee93b01c8abe3a98a3f6d05e98bce3c5
2015-11-24 23:42:26 -05:00
Iris Hsiao 725d265c2c Backed out changeset 0fc93ec9ccd7 (bug 1213517) 2016-07-18 15:41:37 +08:00
Jan-Ivar Bruaroey e7503fa4a5 Bug 1213517 - make getUserMedia store initial constraints on resulting tracks. r=jesup
MozReview-Commit-ID: 291CrmVmq4x

--HG--
extra : rebase_source : d29e6996ee93b01c8abe3a98a3f6d05e98bce3c5
2015-11-24 23:42:26 -05:00
Dan Minor 6f4290af81 Bug 1265394 - Handle infinite values in SetPosition and SetOrientation; r=padenot
Passing infinite values into an AudioParam will trigger an assert in debug
builds. Returning early here mimics the non-debug behaviour of refusing to
insert an event with an infinite value.

MozReview-Commit-ID: BaAtiAnh1s

--HG--
extra : rebase_source : 29b0e9a1f889c96725afb3abb71541e485330433
extra : histedit_source : 9281990becd2fbc934e121675d3075a40158049d
2016-07-05 14:29:59 -04:00
Dan Minor de75e41852 Bug 1265394 - Update tests; r=padenot
MozReview-Commit-ID: 1G42f5ct8d4

--HG--
extra : rebase_source : 3c5bace5e1566f9c27a6fbb2f7ec817e094c2759
extra : histedit_source : 9ff9612c0332d05fd5001c1a3eabb04f34f9d05e
2016-06-23 13:41:52 -04:00
Dan Minor 8f422cb76a Bug 1265394 - Use new PannerNode AudioParams; r=padenot
MozReview-Commit-ID: 80n4dp8IrbM

--HG--
extra : rebase_source : 0a987b7e1fdc568a85bbf6824fb2074b07e81e68
extra : histedit_source : 34c7954fb256299ddc1e4df0774d7ffeeeb16eb7
2016-06-23 13:42:12 -04:00
Schwartz Clement be454b970c Bug 1265394 - Add new PannerNode AudioParams to webidl; r=smaug
MozReview-Commit-ID: I09QSCU9pIr

--HG--
extra : rebase_source : 51f1737285ce7e8f821797c2f2ca43f12dde2958
2016-06-03 14:15:15 +02:00
Paul Adenot 9fe74fa149 Bug 1266646 - Disable assert temporarily to not cause too much pain to sherrifs.
This happens because we take a shortcut sometimes when resolving events, and
this de-linearizes the event queue.

MozReview-Commit-ID: AzJKGfnMNDi
2016-07-07 18:42:23 +02:00
Gregory Szorc 021d3fdfc7 Merge mozilla-central to mozilla-inbound 2016-07-06 18:26:17 -07:00
Wes Kocher 7c9b5f12a6 Merge m-c to autoland, a=merge 2016-07-05 17:14:16 -07:00
Paul Adenot f754b752be Bug 1273009 - Prune AudioParam events in the main thread when inserting new events. r=karlt
Running the test-case in the bug, and profiling under OSX using Instruments'
time profiler, the time spent in `AudioEventTimeline::ValidateEvent` was the
highest Web Audio API-related function. This patch makes it disappear from the
profile. We already use the same technique on the MSG thread to keep the number
of events low.

MozReview-Commit-ID: GJLPRWBh7nQ
2016-06-29 10:25:58 +02:00
Andreas Pehrson 123a522376 Bug 934512 - Mark MediaStream source node as active while it has live audio tracks. r=padenot
MozReview-Commit-ID: F78FmUMMm6N

--HG--
extra : rebase_source : 707fdcba94859cecc20df3d8c7cbf572fbee10a3
2016-06-27 17:30:01 +02:00
Andreas Pehrson 982874d771 Bug 934512 - Test that MediaStreamAudioSourceNode does not get GCed while it has live audio tracks. r=padenot
MozReview-Commit-ID: u5Qh2aC7gI

--HG--
extra : rebase_source : 471f19f67f6beefb0d3183fe266c6b05c88cd584
2016-06-29 12:27:44 +02:00
Andreas Pehrson c2f3b97171 Bug 1280445 - Clean up MediaStreamAudioSourceNode's TrackListener on destruction. r=padenot
MozReview-Commit-ID: L8ZOwiiFO15

--HG--
extra : rebase_source : cf0b489701a718950728b5324bbe7ec001ba03d0
2016-06-21 13:45:52 +02:00
Andreas Pehrson e028368c0f Bug 1280445 - Remove wrapper from MediaStream. r=jesup, r=padenot
MozReview-Commit-ID: CTCFloIUXKa

--HG--
extra : rebase_source : b1c2073c638bb65c19a0f40e8d17e9a5bae15c98
extra : source : c6d854b3209e7de7d97153c0bfc492c1d5f1e6b5
2016-06-29 12:27:13 +02:00
ctai fd36b32d94 Bug 1266646 - Move group of MediaStreamListener to a new header file. r=pehrsons
This can reduce the include header dependency. MediaStreamVideoSink will inherit from DirectMediaStreamTrackListener. But we can't use forward declaration on MediaStreamListener because the usage of nsTArray<RefPtr<MediaStreamVideoSink>>.

MozReview-Commit-ID: 328s4Kw9NvW

--HG--
extra : transplant_source : %D2%18%E3%3B%0C%D8%F04%F3%EB%EB%A0%A7%8B%B1%A9%AB%97rY
2016-06-30 15:07:48 +08:00
Dan Minor db1eb8620e Bug 1283910 - Fix initialization of WaveShaperNode output buffer in null input case; r=padenot
MozReview-Commit-ID: 1YtpEvTa5vd

--HG--
extra : rebase_source : e84883081549df585673c87e3d77bc342f1d6522
2016-07-04 13:38:35 -04:00
Paul Adenot bcad05ddff Bug 1283056 - Cast the enum to int to fix a bustage on a CLOSED TREE.
MozReview-Commit-ID: 8g6gJpz66cu

--HG--
extra : amend_source : 963759b6f8cd4f13ecbde08eb8863d5b5ae06481
2016-07-04 10:19:18 +02:00
Paul Adenot 2a30934f3d Bug 1283056 - Print the invalid state transition before crashing on the assert in AudioContext::OnStateChange. r=karlt
MozReview-Commit-ID: 6m6wmlzDtWk
2016-07-01 09:38:43 +02:00
Chris Pearce 0b88ff590f Bug 1267918 - Add GMPCrashHelper for WebAudio buffer decoder. r=karlt
This means if WebAudio is using the Adobe GMP for decoding and it crashes,
we'll get a crash report for the GMP.

MozReview-Commit-ID: FOZoPxvUwq5

--HG--
extra : rebase_source : 0641e4c46619693b2983a7d7297af525f1ac5bea
2016-06-29 11:42:10 +12:00
Paul Adenot 5e9d303d47 Bug 1269741 - Allow resuming a suspended AudioContext in the same event loop run. r=karlt
MozReview-Commit-ID: L7WlO96d2vh
2016-06-27 14:17:38 +02:00
Paul Adenot a3c568891c Bug 1269741 - Test. r=karlt
MozReview-Commit-ID: 9dl3e5eTOKV
2016-05-04 14:25:52 +02:00
Paul Adenot 05d76a6ef9 Bug 1281408 - Nullcheck `mInputPort` in MediaStreamAudioSourceNode to prevent crashing when getting memory reports after the underlying MediaStream has been destroyed. r=pehrsons
MozReview-Commit-ID: 7OzFPmLVJA5

--HG--
extra : rebase_source : 50af142059a0d45521f42cf00c8f22344ffa72ec
2016-06-22 18:20:46 +02:00
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
Paul Adenot 4616d008f9 Bug 1130010: Implement the new AudioNode.disconnect methods. r=dminor,ehsan
Initial patch by Thomas Escalon <tesc.bugzilla@gmail.com>.

MozReview-Commit-ID: KDnmKIGWYL
2015-06-05 11:17:14 +02:00
Sebastian Hengst 39bd9f8b8e Backed out changeset ac56ced6aba2 (bug 1130010) for bustage. r=backout 2016-07-18 19:45:12 +02:00
Sebastian Hengst dc8c385089 Backed out changeset 6acd35b64dc9 (bug 1130010) 2016-07-18 19:44:37 +02:00
Paul Adenot 9e394fe9b6 Bug 1130010 - Add tests for the new {AudioParam,AudioNode}.disconnect() methods. r=dminor
Initial patch by Thomas Escalon <tesc.bugzilla@gmail.com>.

MozReview-Commit-ID: 2cptcTYuzDQ
2016-07-18 18:53:24 +02:00
Paul Adenot c1df31800a Bug 1130010: Implement the new AudioNode.disconnect methods. r=dminor,ehsan
Initial patch by Thomas Escalon <tesc.bugzilla@gmail.com>.

MozReview-Commit-ID: KDnmKIGWYL
2015-06-05 11:17:14 +02: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
Alastor Wu b5d99318b3 Bug 1235612 - Part 3: Implement the logic of audible state notification for agent owners. r=baku
MozReview-Commit-ID: 6CueLPpuXWm

--HG--
extra : rebase_source : d40603e2ecc006a7b21f8b9adeb3a244e9821a2f
2016-05-03 17:59:32 +08:00
Dan Minor 68f5130961 Bug 1270055 - Unaligned buffer used in DynamicsCompressor; r=padenot
MozReview-Commit-ID: 4xVYjCGblTV

--HG--
extra : rebase_source : 28400783fa926ebc2832529e32688033e3420e3c
2016-05-04 06:49:07 -04:00
Kyle Huey 941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Kyle Huey 7311b10562 Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj 2016-05-05 01:44:59 -07:00
Alastor Wu c8fae1998b Bug 1242874 - part4 : wrap the volume/mute/suspend for notifyStartedPlaying. r=baku
MozReview-Commit-ID: 2FMfEVuODmu

--HG--
extra : rebase_source : 96e49e6e8d074a9bd5d9a7e6a60e7ec01cc88402
2016-05-03 09:52:44 +08:00
Alastor Wu 30466d68e1 Bug 1242874 - part3 : implement different suspended methods. r=baku, r=jwwang
MozReview-Commit-ID: HHYX29gbLwk

--HG--
extra : rebase_source : d774e1338c6e0cd2ce8b4329b28ad9650011a7e5
2016-05-03 09:52:38 +08:00
Alastor Wu 40bc1f6803 Bug 1242874 - part1 : create suspened types. r=baku
MozReview-Commit-ID: FUAPZAdPVse

--HG--
extra : rebase_source : c9faf34965d7e2be9b76881c95dfeff62036587f
2016-05-03 09:50:24 +08:00
Dan Minor 1eb1d5f91e Bug 1266112 - Remove unnecessary alignment checks from AudioNodeEngine.cpp; r=padenot
Assuming that Bug 1266405 fixed the underlying cause for the unaligned
buffers we were seeing, the checks in AudioBufferAddWithScale and
AudioBlockCopyWithScale shoudl no longer be necessary.


MozReview-Commit-ID: 4OQ4qQVjEP3

--HG--
extra : rebase_source : fda9b1f7604a2732c9dea4985bfd47ce9293bc0f
2016-04-29 08:35:30 -04:00
Paul Adenot 00e45c5141 Bug 1259831 - Remove the auto-suspend logic for AudioContext. r=karlt
MozReview-Commit-ID: JoSMPVfbgJb
2016-03-29 16:57:19 +02:00
Carsten "Tomcat" Book dfff02b90d Backed out changeset fd833da413ad (bug 1268313)
--HG--
extra : rebase_source : f857127091900871034f44d89095895abe9932dc
2016-04-29 14:21:25 +02:00
Carsten "Tomcat" Book ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Carsten "Tomcat" Book 2dc450ceba Backed out changeset a8bae4554679 (bug 1259831)
--HG--
extra : rebase_source : 18ccc0c8c21d4d42afa5e8db22921b5468117b30
2016-04-29 14:21:12 +02:00
Paul Adenot 1011bcc2a0 Bug 1259831 - Remove the auto-suspend logic for AudioContext. r=karlt
MozReview-Commit-ID: JoSMPVfbgJb
2016-03-29 16:57:19 +02:00
Nicholas Nethercote 2511b2c327 Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.

MozReview-Commit-ID: 1VS4Dney4WX

--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Kyle Huey 48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Kyle Huey 72c9966484 Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Carsten "Tomcat" Book 7fcba36865 Backed out changeset 1681062d82dd (bug 1242874) for timeouts in own test browser_mediaPlayback_suspended_multipleAudio.js 2016-04-28 13:59:23 +02:00
Carsten "Tomcat" Book b4a55fdcfc Backed out changeset d09b20eeb382 (bug 1242874) 2016-04-28 13:59:04 +02:00
Carsten "Tomcat" Book 0a62793b79 Backed out changeset df13b449ffcc (bug 1242874) 2016-04-28 13:59:02 +02:00
Alastor Wu 4e7da2f687 Bug 1242874 - part4 : wrap the volume/mute/suspend for notifyStartedPlaying. r=baku
MozReview-Commit-ID: GRjxz1E0C9r

--HG--
extra : transplant_source : %88%D7%C7q%3C%8A%98%C0%84k%AF%90%F7%5D%83%CC%BEa%B1%F2
2016-04-28 00:23:48 +08:00
Alastor Wu daaa9802c9 Bug 1242874 - part3 : implement different suspended methods. r=baku, r=jwwang
MozReview-Commit-ID: Co4avRLWGRK

--HG--
extra : transplant_source : b%17%81%60%94_%F1%C2%5D%B1%B3%D5%F3%5C%7D4p%7F%03%EB
2016-04-28 00:23:42 +08:00
Alastor Wu 14fb7102ce Bug 1242874 - part1 : create suspened types. r=baku
MozReview-Commit-ID: 1RJvbzMOCpu

--HG--
extra : transplant_source : %E8%3F%7BLD%F3%B8%98%3E%CA%A5%5C7%B7%9B%D0%BEFrr
2016-04-28 00:21:22 +08:00
Kyle Huey 7579799b01 Bug 1266595: Replace Chromium Task with Runnable. r=froydnj 2016-04-27 17:06:05 -07:00
Dan Minor 4b3726dd99 Bug 1265405 - Add test case for PeriodicWave normalization; r=padenot
MozReview-Commit-ID: B85kaip1xQT

--HG--
extra : rebase_source : 565fe160a510cad0bf1f406404e33121a0783a3c
2016-04-22 09:47:07 -04:00
Dan Minor c86fe66751 Bug 1265405 - Use a dictionary to specify how PeriodicWave should be normalized (or not); r=padenot
MozReview-Commit-ID: IH7no48COML

--HG--
extra : rebase_source : 649afa948369812a93667929e1b9bf1cba93172a
2016-04-25 11:37:20 -04:00