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

857 Коммитов

Автор SHA1 Сообщение Дата
Bevis Tseng 72d516ef01 Bug 1314833 - Part 2.2: Use AbstractThread::CreateDirectTaskDrainer() to Drain Direct Tasks Dispatched to MediaStreamGraph. f=rjesup,r=padenot,jwwang
MozReview-Commit-ID: 1KgE3uKu4CG

--HG--
extra : rebase_source : 2ad950afe84675fb9bc4c449e53e7c0d52270175
2016-12-07 22:00:12 -10:00
Bevis Tseng f2bdbd8fd1 Bug 1314833 - Part 2.1: Factor out AbstractThread::MainThread() used in Media Playback. r=billm,jwwang
MozReview-Commit-ID: 9yJi3iDtVZG

--HG--
extra : rebase_source : 39c720ccc576ed9247b5e8abb70d99d7873b3ad6
2016-11-29 13:03:36 +08:00
Boris Zbarsky 03dbb8c08b Bug 851892 part 10. Convert CSSNamespaceRule to WebIDL. r=peterv,heycam 2017-01-13 10:41:03 -05:00
Sebastian Hengst e21b4b941f Backed out changeset 9dee4f98503c (bug 851892) 2017-01-20 19:30:23 +01:00
Boris Zbarsky 1e1b760bf1 Bug 851892 part 10. Convert CSSNamespaceRule to WebIDL. r=peterv,heycam 2017-01-13 10:41:03 -05:00
Wes Kocher 54c460dbd6 Merge inbound to m-c a=merge
MozReview-Commit-ID: 3cGydlfeaPN
2017-01-18 14:17:10 -08:00
Gerald Squelart f17dd305d6 Bug 1331289 - Use MediaContainerType in MediaResource, SourceBuffer, TrackBuffersManager, and dependencies - r=jya
Continuing the work of replacing MIME strings with MediaContainerType, starting
from MediaResource and following the dependencies.

Most changes are mechanical: Just change ns*String into MediaContainerType, and
MIME string literals into MEDIAMIMETYPE("a/b").
Some checks for empty/invalid strings and lowercase comparisons can go, thanks
to the always-valid always-lowercase-MIME invariants of MediaContainerType.

One special case in is MediaSourceResource, which used to have an empty string
as its type (because its own type is not relevant, but its SourceBuffers carry
types). Because the inherited GetContentType *must* be overridden, and must
return a MediaContainerType, we needed a valid type even though it should not
be seen in the real world. I've chosen "application/x.mediasource" for that.

MozReview-Commit-ID: 1aCH75Kh2e6

--HG--
extra : rebase_source : 0d9cd9b69c264e5dcfc3845f80ee107f4bcbcd9a
2016-12-28 18:59:02 +11:00
Gerald Squelart 5745998021 Bug 1331770 - Rename 'MediaContentType' to 'MediaContainerType' - r=jya
MozReview-Commit-ID: F0BWai8vPyo

--HG--
rename : dom/media/MediaContentType.cpp => dom/media/MediaContainerType.cpp
rename : dom/media/MediaContentType.h => dom/media/MediaContainerType.h
extra : rebase_source : 640ada96750b4496055087e80ae3f600c9df31c9
2017-01-18 11:59:03 +11:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Ehsan Akhgari b89a8163fa Bug 1328422 - Make WebAudioDecodeJob not be refcounted, and instead manage its lifetime explicitly; r=padenot 2017-01-16 15:53:45 +08:00
Phil Ringnalda c4129ca15b Merge autoland to m-c, a=merge 2017-01-15 12:31:23 -08:00
Phil Ringnalda 686006613e Backed out 20 changesets (bug 851892) for load failures in Android crashtest-4
Backed out changeset b9c4115cdeac (bug 851892)
Backed out changeset 5f491bf49b85 (bug 851892)
Backed out changeset 9bf5bcb3e8c5 (bug 851892)
Backed out changeset a9cab46e8b45 (bug 851892)
Backed out changeset 73858e15c8c0 (bug 851892)
Backed out changeset a25638588b6b (bug 851892)
Backed out changeset d58e0e5069ef (bug 851892)
Backed out changeset d8da2a3d8f10 (bug 851892)
Backed out changeset a8da3c34983f (bug 851892)
Backed out changeset 29cf8acbd21e (bug 851892)
Backed out changeset c53cd7bdf8b3 (bug 851892)
Backed out changeset e841a2796375 (bug 851892)
Backed out changeset 2eab85b00159 (bug 851892)
Backed out changeset ca4b1fb9cae4 (bug 851892)
Backed out changeset 74c0ba66f108 (bug 851892)
Backed out changeset 719bb9f41e5b (bug 851892)
Backed out changeset d6aa4c6192df (bug 851892)
Backed out changeset dc81a167a75d (bug 851892)
Backed out changeset 65422477b3a5 (bug 851892)
Backed out changeset 3089dd379077 (bug 851892)
2017-01-15 11:50:10 -08:00
Boris Zbarsky 72579551f8 Bug 851892 part 10. Convert CSSNamespaceRule to WebIDL. r=peterv,heycam 2017-01-13 10:41:03 -05:00
Gerald Squelart 882af395f0 Bug 1330284 - Use MediaContentType in CreateReader and MediaBufferDecoder - r=jya
MozReview-Commit-ID: E9yVaxNdLad

--HG--
extra : rebase_source : 35828ab34adcc2fca6d607459d3dbb3c3c16d5cd
2016-12-22 11:57:48 +11:00
Xidorn Quan a8e64a94e1 Bug 1298756 - Use uint8_t/uint16_t as underlying type for enums from webidl. r=bz
MozReview-Commit-ID: 3uS9s5ZrPFd

--HG--
extra : rebase_source : ff64b4468ee99ba08fd8638298a27711b7fb6393
2017-01-12 12:23:37 +11:00
Andrea Marchesini 2abf88ce1f Bug 1329744 - AudioBuffer ctor updated, r=padenot 2017-01-10 21:30:28 +00:00
Paul Adenot 01a3eba51c Bug 1325066 - Use correct exception for `connect` calls between AudioNodes and AudioParams of different contexts. r=baku
MozReview-Commit-ID: KrG4ZAya088

--HG--
extra : rebase_source : c6d7c7c4dcc58aacdeb79ff7966050aad6170f83
2016-12-21 14:45:51 +01:00
Markus Stange 4bdc4ca0fb Bug 1323100 - Register most of the remaining threadfunc threads with the profiler. r=froydnj
As far as I can tell, this covers all the remaining threads which we start
using PR_CreateThread, except the ones that are created inside NSPR or NSS,
and except for the Shutdown Watchdog thread in nsTerminator.cpp and the
CacheIO thread. The Shutdown Watchdog thread stays alive past leak detection
during shutdown (by design), so we'd report leaks if we profiled it. The
CacheIO thread seems to stay alive past shutdown leak detection sometimes as
well.

This adds a AutoProfilerRegister stack class for easy registering and
unregistering. There are a few places where we still call
profiler_register_thread() and profiler_unregister_thread() manually, either
because registration happens conditionally, or because there is a variable that
gets put on the stack before the AutoProfilerRegister (e.g. a dynamically
generated thread name). AutoProfilerRegister needs to be the first object on
the stack because it uses its own `this` pointer as the stack top address.

MozReview-Commit-ID: 3vwhS55Yzt

--HG--
extra : rebase_source : 56dd27282e7bd09a7e7dc7ca09ccfe3a0198e7af
2017-01-05 16:34:26 +01:00
Edgar Chen 68253477ee Bug 1328206 - Do not use binding_detail things in AudioContext, use Sequence instead; r=dminor 2017-01-03 11:54:37 +08:00
Olli Pettay 0364dbc792 Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Andrea Marchesini 1605ddf333 Bug 1324181 - Better implementation of PeriodicWave constructor, r=padenot 2016-12-22 15:37:33 +01:00
Paul Adenot fd396ecf1d Bug 1325215 - Fix bustage.
MozReview-Commit-ID: 6P9ccLvylG2
2017-01-18 11:04:31 +01:00
Paul Adenot 945d697015 Bug 1325215 - Reject promises in flight when shutting down AudioContexts. r=ehsan
Spec bug: https://github.com/WebAudio/web-audio-api/issues/1139

MozReview-Commit-ID: 8aTaoEKDWYd

--HG--
extra : rebase_source : f325defd56d15a716c23d796bf875b183867c6a7
2017-01-18 10:50:14 +01:00
Ehsan Akhgari 1b687dcdfe Bug 1325215 - Ensure that all AudioContext members that need to participate in cycle collection do so; r=padenot
MozReview-Commit-ID: JIL0nFL4lMW

--HG--
extra : rebase_source : 09993abc04db0ec0ceaef808a58a8b4d37e3a8eb
2017-01-18 10:48:40 +01:00
Andrea Marchesini 7d3342df6b Bug 1324659 - AudioParam.minValue/maxValue, r=padenot 2016-12-21 10:53:38 +01:00
Andrea Marchesini 60364b27c9 Bug 1324568 - Implement AudioScheduledSourceNode, r=padenot 2016-12-21 10:53:17 +01:00
Andrea Marchesini de7438cf52 Bug 1324352 - Implement BaseAudioContext, r=padenot 2016-12-21 10:52:50 +01:00
Sebastian Hengst ac153b5903 Backed out changeset 50a74758ee7d (bug 1324352) for failing webaudioeditor devtools tests like test/browser_audionode-actor-bypass.js. r=backout 2016-12-20 23:03:36 +01:00
Sebastian Hengst d17f05006b Backed out changeset d70b97db8d9e (bug 1324568) 2016-12-20 23:02:48 +01:00
Sebastian Hengst 2c02931295 Backed out changeset f350bbf9e636 (bug 1324659) 2016-12-20 23:02:44 +01:00
Andrea Marchesini f9c4996182 Bug 1324659 - AudioParam.minValue/maxValue, r=padenot 2016-12-20 20:20:41 +01:00
Andrea Marchesini bd93c7bd15 Bug 1324568 - Implement AudioScheduledSourceNode, r=padenot 2016-12-20 20:20:41 +01:00
Andrea Marchesini ad79ef8d0a Bug 1324352 - Implement BaseAudioContext, r=padenot 2016-12-20 20:20:41 +01:00
Andrea Marchesini 826ada7c51 Bug 1324537 - Implement the OfflineAudioCompletionEvent constructor - part 2, r=me 2016-12-20 11:02:50 +01:00
Andrea Marchesini 4f29b70d10 Bug 1324537 - Implement the OfflineAudioCompletionEvent constructor, r=smaug 2016-12-20 10:41:30 +01:00
Andrea Marchesini e217483d1a Bug 1322883 - AudioNode constructors - part 18 - MediaStreamAudioDestinationNode, r=padenot 2016-12-15 19:24:43 +01:00
Andrea Marchesini 040ca23f4e Bug 1322883 - AudioNode constructors - part 17 - MediaStreamAudioSourceNode, r=padenot 2016-12-15 19:24:43 +01:00
Andrea Marchesini ef0b4a0ce6 Bug 1322883 - AudioNode constructors - part 16 - MediaElementAudioSourceNode, r=padenot 2016-12-15 19:24:43 +01:00
Andrea Marchesini be2438d32b Bug 1322883 - AudioNode constructors - part 15 - AudioBuffer, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini a5807e46ae Bug 1322883 - AudioNode constructors - part 14 - PeriodicWave, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini 91ff6d8f42 Bug 1322883 - AudioNode constructors - part 13 - OscillatorNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini 28750547b1 Bug 1322883 - AudioNode constructors - part 12 - DynamicsCompressorNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini 5f7e08bcd8 Bug 1322883 - AudioNode constructors - part 11 - ChannelMergerNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini f36c0079c1 Bug 1322883 - AudioNode constructors - part 10 - ChannelSplitterNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini 0c863ebca2 Bug 1322883 - AudioNode constructors - part 9 - ConvolverNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini 892e3c83ca Bug 1322883 - AudioNode constructors - part 8 - StereoPannerNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini beb4c0043b Bug 1322883 - AudioNode constructors - part 7 - PannerNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini ba8652fc67 Bug 1322883 - AudioNode constructors - part 6 - WaveShaperNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini a85230b0c3 Bug 1322883 - AudioNode constructors - part 5 - IIRFilterNode, r=padenot 2016-12-15 19:24:41 +01:00
Andrea Marchesini d00453d527 Bug 1322883 - AudioNode constructors - part 4 - BiquadFilterNode, r=padenot 2016-12-15 19:24:41 +01:00
Andrea Marchesini 0432a35b02 Bug 1322883 - AudioNode constructors - part 3 - DelayNode, r=padenot 2016-12-15 19:24:41 +01:00
Andrea Marchesini 9c8c0e312f Bug 1322883 - AudioNode constructors - part 2 - GainNode, r=padenot 2016-12-15 19:24:41 +01:00
Andrea Marchesini c14a015895 Bug 1322883 - AudioNode constructors - part 1 - AudioBufferSourceNode, r=padenot 2016-12-15 19:24:41 +01:00
Andrea Marchesini a71db5b97f Bug 1322883 - AudioNode constructors - part 0 - AnalyserNode, r=padenot 2016-12-15 19:24:41 +01:00
Andrea Marchesini 3200b37b47 Bug 1322982 - DOMException should be passed as argument in DecodeErrorCallback, r=padenot 2016-12-13 07:00:15 +01:00
Andrew McCreight fccb0645ed Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd 826598caba Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight e31b5489da Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05:00
Tomislav Jurin 348bfffc19 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Dan Minor 46844007d0 Bug 1157635 - Use DenormalDisabler.h to automatically flush subnormals; r=karlt
This adds a DenormalDisabler instance at the beginning of each
MediaStreamGraph iteration. On supported platforms, this will cause subnormal
numbers to be flushed automatically.

MozReview-Commit-ID: JGtunsqSirR

--HG--
extra : rebase_source : b051708f5191a267fc2eaef0ae40f438e1a77e4a
2016-08-05 15:33:08 -04:00
Dan Minor 7c22a70554 Bug 1157635 - Update DenormalDisabler.h from chromium rev e3bc1d8cebf65a51bb23abf204cf1ba059f1e865; r=karlt
Since this was originally landed, chromium has added support disabling denormalized
numbers on ARM and ARM64.

MozReview-Commit-ID: 7hdZNpJqA9q

--HG--
extra : rebase_source : d628c41489b1acee9ac9aeef85ffd9ba293163a5
2016-08-05 14:22:24 -04:00
Andrea Marchesini 2f974ccbce Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00
Dan Minor df1e61fa98 Bug 1308433 - In automation methods, when startTime is < AudioContext.currentTime, clamp to AudioContext.currentTime; r=padenot
MozReview-Commit-ID: ImnxgOiIdnG

--HG--
extra : rebase_source : 57f874281bf9cbb97b6f52bbb3f138b5c35edcc7
2016-11-08 09:29:35 -05:00
Chris Pearce 0a0e9d8f06 Bug 1317822 - Move GMPCrashHelper into its own file. r=gerald
MozReview-Commit-ID: 7CinZ2Y2Fmz

--HG--
extra : rebase_source : 3b176cbfadebf6463384105c261ff208bc58b1c2
2016-11-16 11:35:36 +13:00
Sebastian Hengst 8ee9323cd0 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/media. r=RyanVM
MozReview-Commit-ID: JVsnpnBDeCC

--HG--
extra : rebase_source : 5a7ccee10b094808e3ee73de7a226306a9fd55fd
2016-11-05 11:29:16 +01:00
Phil Ringnalda c9fdc270b6 Merge m-c to autoland
--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
2016-11-03 20:02:24 -07:00
Dan Minor 98715f6438 Bug 1313058 - Fix SetValueCurveAtTime interpolation; r=padenot
This interpolates over aCurveLength - 1 steps rather than over
aCurveLength steps as was done before.

Previously we would reach the final value on the curve before
the end of the specified duration. For example, on the curve
[1.0, 0.0] with duration 1000, we would interpolate from 1.0 to
0.0 by time 500 rather than time 1000. With these changes, we
don't reach 0.0 until time 1000, as expected.

This also updates TestSpecExample in TestAudioEventTimeline.cpp
to match the curve in the latest spec.

MozReview-Commit-ID: Cgs8csbRUMh

--HG--
extra : rebase_source : 1960128558ae9174933cd5be3c1fbfcb79f5ba1d
2016-10-26 10:33:20 -04:00
Andreas Pehrson 75e0ffd718 Bug 1301675 - Test that a track from MediaStreamAudioDestinationNode can be stopped. r=padenot
MozReview-Commit-ID: 5wViWJQmI2H

--HG--
extra : rebase_source : 9792ea4240d830175e8abd3a1901e60bb332fcbd
2016-09-16 11:50:20 +02:00
Andreas Pehrson 86b155361f Bug 1301675 - Implement AudioDestinationTrackSource. r=padenot
So stop()ing the output track can clean up the destination node.

MozReview-Commit-ID: CmMXRCpOeFY

--HG--
extra : rebase_source : f1625cf63989b6ab7283a021cd08bdbabf8d82ed
2016-09-16 11:25:38 +02:00
Nicholas Nethercote 2af130581e Bug 1314556 - Convert TestAudioEventTimeline.cpp to a gtest. r=padenot.
This required moving template function ValidateEvent into the .h file to avoid
linking problems in xul-gtest.

--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
rename : dom/media/webaudio/compiledtest/moz.build => dom/media/webaudio/gtest/moz.build
extra : rebase_source : 1a8917fc0e75e9c264bc88aec5565d9fff085c12
2016-11-03 13:39:26 +11:00
Dan Minor 50b4412911 Bug 1265401 - Perform linear interpolation when computing the SetValueCurveAtTime events; r=padenot
MozReview-Commit-ID: IOiyq5a4P2A

--HG--
extra : rebase_source : b3d225348d6b8c9dd8b4b20eb11e8ec65413a52e
2016-10-24 13:07:32 -04:00
Dan Minor 4b0ae91ea2 Bug 1308427 - Allow a setTargetAtTime TimeConstant to be 0; r=padenot
MozReview-Commit-ID: 86YSuJDdks8

--HG--
extra : rebase_source : f7bcee3652446e21a7379371e424c5137c3d9391
2016-10-20 11:10:19 -04:00
Ryan VanderMeulen 5c4d7020f2 Merge m-c to inbound. a=merge 2016-10-21 11:08:45 -04:00
Dan Minor ca6d6b732d Bug 1308432 - Implement ConstantSourceNode; r=padenot
MozReview-Commit-ID: DZ6Zq1rzRwP

--HG--
extra : rebase_source : 6761e21ec9573d8489c48286e87b1eb0cc69e9e8
2016-10-13 15:17:04 -04:00
Dan Minor a480f90374 Bug 1308432 - Add webidl for ConstantSourceNode; r=smaug
MozReview-Commit-ID: 1VtsBk7icrW

--HG--
extra : rebase_source : 702a5c607bf69245c82fba81b561fcb95290dc96
2016-10-13 10:40:29 -04:00
Dan Minor c426848b1a Bug 1308432 - Add missing includes to PannerNode.h and PannerNode.cpp; r=padenot
The missing includes were hidden due to the unified build.

MozReview-Commit-ID: 5M3YnyIOW8C

--HG--
extra : rebase_source : 16a1742148c9ac24a3c011b0df3f359d82686df1
2016-10-13 10:41:24 -04:00
Dan Minor 397fdefcf6 Bug 957024 - Update PannerNode distance calculations to match the web audio spec; r=karlt
Distances less than refDistance should be treated as refDistance when calculating
the gain.

MozReview-Commit-ID: JASGb7jLp5L

--HG--
extra : rebase_source : 24e0207b7e6482000ec134bbde59ce448eee25f7
2016-08-16 11:07:12 -04:00
Jon Coppeard 556585c65f Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8 2016-10-18 17:58:19 +01:00
Paul Adenot 1de5663f4b Bug 1291702 - Remove the aDestination parameter in DisconnectFromOutputIfConnected and IterateOnDestinationInputs. r=karlt
We do this by abstracting away getting the input for AudioNodes and AudioParams
with templates. This prevents removing the wrong connection when disconnecting
nodes with multiple inputs.

MozReview-Commit-ID: 3fzUKthRM1f
2016-10-20 14:34:27 +02:00
Paul Adenot 0aacea49a5 Bug 1291702 - Rename the argument of the predicate lambda to aInputNode. r=karlt
`aInput` clashes with outer scope variables, and we can't rename captured
variables just yet, as it is a C++14 feature that we can't use in
mozilla-central.

MozReview-Commit-ID: JL4ChEpusM4
2016-10-20 14:34:03 +02:00
Paul Adenot b16eb24739 Bug 1291702 - Wrap AudioNode.cpp to 80 character lines. r=karlt
This patch only contains indentation changes, line breaks, and whitespace
changes.

MozReview-Commit-ID: 1lhRIecxZ4J
2016-10-20 14:33:59 +02:00
Paul Adenot 5424c454d0 Bug 1291702 - Refactor the input node iteration loop on destination node when disconnecting nodes. r=karlt
MozReview-Commit-ID: FE19hEVhA7R
2016-09-09 13:41:01 +02:00
Dan Minor fd13f2e7a3 Bug 1291702 - Avoid removing same output node repeatedly during AudioNode disconnect; r=karlt
MozReview-Commit-ID: 5w5972qjwV8
2016-08-11 12:13:33 -04:00
Paul Adenot f4851b4599 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
James Cheng 48efb9caad Bug 1300654 Part1-Remove MOZ_EME from code base. r=cpearce,smaug
MozReview-Commit-ID: JboGO0w4tcE

--HG--
extra : rebase_source : abfe53f30081f74fc39c900cab48d08c7574bfec
2016-09-08 18:06:20 +08:00
Paul Adenot 5056af1d5d 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
Alex Chronopoulos 2090e1210d Bug 1286041 - Ignore AudioContext state change to Suspended when in Closed. r=padenot 2016-09-12 12:25:10 +03:00
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