Commit Graph

51 Commits

Author SHA1 Message Date
Bob Owen
61edbfb626 Bug 1103946 Part 1: Change --content-sandbox mach / mochitest option to --strict-content-sandbox. r=jmaher
Also, change tests that are skipped using (contentSandbox != off) to (strictContentSandbox).
2014-12-10 09:34:03 +00:00
Chris Peterson
15996b5402 Bug 1107814 - Part 2: Mark some directories as FAIL_ON_WARNINGS conditionally for some compilers. r=gps 2014-12-04 01:11:14 -08:00
Bobby Holley
142c54bbb7 Backed out changeset b76636e9f49a (bug 1097823) 2014-12-07 17:09:08 -08:00
Bobby Holley
7a75cf698f Backed out changeset ab6ddc8ac28a (bug 1097823) 2014-12-07 17:09:06 -08:00
Bobby Holley
0bff227286 Bug 1097823 - Replace AudioDecodeRendezvous with promise-y goodness. r=cpearce,karlt 2014-12-07 11:21:35 -08:00
Bobby Holley
0fea43410f Bug 1097823 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce 2014-12-07 11:21:35 -08:00
Paul Adenot
b3629ff9c1 Bug 1092831 - AnalyserNode should have channelCountMode set to "max" by default. r=ehsan
Spec change: https://github.com/WebAudio/web-audio-api/issues/450

--HG--
extra : rebase_source : f8e71f73e45f31e31c745e29e4b694778d7db445
2014-12-04 11:22:51 -08:00
Paul Adenot
02fe06369c Bug 1100349 - Tests for the StereoPannerNode. r=ehsan
--HG--
extra : rebase_source : 4944c4626f5e6ab40a95be8bc02b4389572077a7
2014-11-19 18:16:07 +01:00
Paul Adenot
44696fc60b Bug 1100349 - Implement StereoPannerNode. r=ehsan,smaug
--HG--
extra : rebase_source : c0d3df3c4ea01001c0800997edbdf441c7287fb8
2014-11-19 18:15:13 +01:00
Paul Adenot
6caf4dcabc Bug 1087944 - Test for the promise returned by OfflineAudioContext.startRendering(). r=ehsan
--HG--
extra : rebase_source : 134c1bb8684be1cefe9bd75efc9868eaf42a674e
2014-11-19 18:18:24 +01:00
Paul Adenot
0ebbb55c29 Bug 1087944 - Implement the promise version of OfflineAudioContext. r=ehsan,smaug
--HG--
extra : rebase_source : b5546f150ae8b2307e82dc8c6aae5bfbd5b5e670
2014-11-19 11:38:39 +01:00
Matthew Gregan
8364540745 Bug 1104357 - Ensure MediaDecoderReader is shutdown on all exit paths from MediaDecodeTask::Decode. r=cpearce
Also adds an assertion to MediaDecoderReader::Shutdown to ensure it is called from the appropriate thread.
2014-11-25 14:09:19 +13:00
Trevor Saunders
333d3d2125 bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
Ryan VanderMeulen
970abf2e16 Backed out changeset 6dad5fe1d22b (bug 1087944) for Linux64 mochitest-e10s orange. 2014-11-26 17:40:52 -05:00
Ryan VanderMeulen
96b12573a9 Backed out changeset e82170d665d8 (bug 1087944) 2014-11-26 17:40:42 -05:00
Paul Adenot
9c2b18c89e Bug 1087944 - Test for the promise returned by OfflineAudioContext.startRendering(). r=ehsan
--HG--
extra : rebase_source : 351f66c2cd7f2c269d7f2c05214d0f291488cf23
2014-11-19 18:18:24 +01:00
Paul Adenot
a1aac031b9 Bug 1087944 - Implement the promise version of OfflineAudioContext. r=ehsan,smaug
--HG--
extra : rebase_source : 1ede286a68f592038320ed5b82051bb9dd3cc0db
2014-11-19 11:38:39 +01:00
Karl Tomlinson
a025074343 bug 1100409 set AudioNodeStream::mLastChunks length only once r=padenot
This can be done because AudioNodeEngine::mOutputCount is const.

--HG--
extra : rebase_source : 66f997f5a25c4296d230e8067bf7d7cb1d688029
2014-11-18 16:22:45 +13:00
Karl Tomlinson
3e2f8e6df2 bug 1100409 uninline AudioNodeStream constructor to avoid requiring AudioNodeEngine.h r=padenot
--HG--
extra : rebase_source : 4d9fe22d15680e299f0834905f7e45b0ff294049
2014-11-21 08:41:18 +13:00
Karl Tomlinson
18328f5543 bug 976927 use nsAutoTArray operator= from nsTArray r=froydnj
--HG--
extra : rebase_source : 59226888a19e525f4925eabdd93d08bfa7db13a9
2014-11-19 13:29:19 +13:00
Robert O'Callahan
4aed02be9c Bug 1061046. Part 22: test_mediaStreamAudioSourceNode no longer sees a 1-sample delay. r=karlt 2014-09-23 13:41:58 -04:00
Robert O'Callahan
4e6e2071f7 Bug 1061046. Part 21: Remove rate parameter from StartNonRealtimeProcessing. r=karlt 2014-11-19 23:21:38 +13:00
Robert O'Callahan
c072a388a4 Bug 1061046. Part 19: Eliminate TrackTicks in favour of StreamTime. r=karlt 2014-09-18 17:20:43 +12:00
Robert O'Callahan
d5f42a50b4 Bug 1061046. Part 17: Remove some unused TrackRate parameters. r=karlt 2014-09-18 17:13:16 +12:00
Robert O'Callahan
2585e652b3 Bug 1061046. Part 16: Remove most usage of TicksToTimeRoundDown. r=karlt 2014-09-18 17:13:16 +12:00
Robert O'Callahan
adbc44db16 Bug 1061046. Part 12: Simplify AudioNodeExternalInputStream since no resampling is needed. r=karlt
Since resampling is not needed, we can preserve the number of input channels in each
input audio block.
2014-09-18 11:51:21 +12:00
Robert O'Callahan
2bbfc2cdc1 Bug 1061046. Part 11: Remove callback rate parameters. r=karlt 2014-09-18 11:51:13 +12:00
Bobby Holley
6505e9257e Bug 1100776 - Reference-count MediaData. r=cpearce 2014-11-19 13:01:10 -08:00
Andrea Marchesini
33dad48e82 Bug 1073615 - One MediaStreamGraph singleton per audioChannel, r=roc 2014-11-17 16:07:55 +00:00
Paul Adenot
c94d9ebc31 Bug 1000264 - Stop checking exceptions on decodeAudioData now that it uses promises, and check it in the promise test file instead. r=bz
--HG--
extra : rebase_source : 6860e1ff28b4bbb2d88db5bb5e679fc3da53b169
2014-11-14 09:37:39 +01:00
Paul Adenot
d057a8f79e Bug 1000264 - Test for the Promise support of AudioContext.decodeAudioData. r=ehsan
--HG--
extra : rebase_source : d377b97b4d7c589020932183ad6ad92d703fd207
2014-10-22 11:00:00 +02:00
Paul Adenot
d3761acdac Bug 1000264 - Make AudioContext.decodeAudioData return a promise. r=ehsan,bz
--HG--
extra : rebase_source : 570014ee470ca5493073113ab3bc4bb0933c390a
2014-10-23 12:07:48 +02:00
Ryan VanderMeulen
d9de42ef04 Backed out changesets 0c9407b0e481, c2c37b2e9fac, and 488700194519 (bug 1000264) for e10s test failures.
CLOSED TREE
2014-11-13 12:40:15 -05:00
Paul Adenot
6804e75540 Bug 1000264 - Test for the Promise support of AudioContext.decodeAudioData. r=ehsan
--HG--
extra : rebase_source : 190819460674ff21ef83d64f419cb912e1e9fd22
2014-10-22 11:00:00 +02:00
Paul Adenot
8a9f927823 Bug 1000264 - Make AudioContext.decodeAudioData return a promise. r=ehsan,bz
--HG--
extra : rebase_source : 79e8b89ddc5d08ccdd131f9b827c9110da0238ee
2014-10-23 12:07:48 +02:00
Ryan VanderMeulen
b905f70962 Backed out changeset 5a476e673470 (bug 1073615) for causing various intermittent failures. 2014-11-12 11:52:30 -05:00
Andrea Marchesini
c30005c81b Bug 1073615 - One MediaStreamGraph singleton per audioChannel. r=roc 2014-09-29 03:43:00 -04:00
Paul Adenot
e16a1eecf2 Bug 1032656 - Allocate the output buffer for OfflineAudioContext off-main-thread. r=ehsan
--HG--
extra : rebase_source : fa22c709a7b2883dd80ca0638fc3e21d3485b39e
2014-10-23 14:57:08 +02:00
Jean-Yves Avenard
a2f79473ba Bug 1093654 - Fix various memory leaks in MediaDecoders. r=jwwang
Change various function prototyping to make object ownership more explicit.
2014-11-06 19:17:05 +11:00
Jean-Yves Avenard
832ad94e23 Bug 1065827 - Do not always wait to decode frames to emit loadedmetadata. r=jwwang 2014-11-06 20:52:44 +11:00
Carsten "Tomcat" Book
121ca1d0c2 Backed out changeset 44f27b3c35d4 (bug 1065827) 2014-11-06 14:59:04 +01:00
Carsten "Tomcat" Book
4a64f5eae6 Backed out changeset 70a72a19cb4b (bug 1093654) 2014-11-06 14:58:53 +01:00
Jean-Yves Avenard
c3bd7c5413 Bug 1093654 - Fix various memory leaks in MediaDecoders. r=jwwang
Change various function prototyping to make object ownership more explicit.
2014-11-06 19:17:05 +11:00
Jean-Yves Avenard
8f6e3e468e Bug 1065827 - Do not always wait to decode frames to emit loadedmetadata. r=jwwang 2014-11-06 20:52:44 +11:00
Cgg
4e5f297ea9 Bug 966247 - Make MediaElementAudioSourceNode take the HTMLMediaElement volume into account. r=padenot
--HG--
extra : rebase_source : 6ba3d01780be44c4164bd8ed1b69e6171eaa66dd
2014-06-22 14:12:57 +02:00
Mike Hommey
d667f4bb59 Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Chris Pearce
e264dccc4f Bug 1071482 - Make content encrypted via EME inaccessible from JS APIs. r=roc 2014-10-28 13:21:12 +13:00
Ryan VanderMeulen
903b6f89ef Backed out changesets 62a8be146b4b, d9a9008a1e93, e6761281d389, and 913e16c2877b (bug 1071482) for causing various intermittent failures.
--HG--
rename : dom/media/test/test_eme_playback.html => dom/media/test/test_encryptedMediaExtensions.html
2014-10-29 12:31:43 -04:00
Chris Pearce
4fd4f36e75 Bug 1071482 - Make content encrypted via EME inaccessible from JS APIs. r=roc 2014-10-28 13:21:12 +13:00
Paul Adenot
f5c2676219 Bug 1085356 - Better handling of OSX audio output devices switching when SourceMediaStream are present in the MSG. r=jesup
On OSX, when the audio output device changes, the OS will call the audio
callbacks in weird patterns, if at all, during a period of ~1s. If
real-time SourceMediaStreams are present in the MediaStreamGraph, this means
buffering will occur, and the overall latency between the MediaStreamGraph
insertion time, and the actual output time will grow.

To fix this, we detect when the output device changes, and we switch temporarily
to a SystemClockDriver, that will pull from the SourceMediaStream, and simply
discard all input data. Then, when we get audio callbacks called reliably
(basically, when OSX is done switching to the other output), we switch back to
the previous AudioCallbackDriver.

We keep the previous AudioCallbackDriver alive using a self-reference. If an
AudioCallbackDriver has a self-reference, that means it's in a state when a
device is switching, so it's not linked to an MSG per se.
2014-10-22 16:12:29 +02:00