Andrea Marchesini
60ab8339e0
Bug 1288736 - Add some missing rv.SuppressException(), r=smaug
2016-07-22 16:50:10 +02: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
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
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
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
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
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
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
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
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Dan Minor
8c7cbbbf79
Bug 877662 - Align audio buffer allocations to 16 byte boundaries r=padenot
...
To be able to use SSE2 routines, we need to audio buffers to be allocated
on 16 byte boundaries.
MozReview-Commit-ID: 2mjxMWqysFd
--HG--
extra : rebase_source : 8bd7d48b767b7bcfa5874061586b9b41c26a18ae
2016-04-13 15:31:50 -04:00
Boris Zbarsky
20514713f3
Bug 1255718. Remove the unused JSContext argument of AudioBuffer::Create. r=ehsan
2016-03-11 16:43:31 -05:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Jean-Yves Avenard
d822675be4
Bug 1240411: P1. Clean up webaudio headers. r=cpearce
...
Remove redundant virtual keyword and add missing override if any.
2016-01-19 19:47:28 +11:00
Alastor Wu
f0d62419f0
Bug 1228564 - part 2 : check audio capturing when the agent is registered/unregistered. r=baku.
2015-12-24 17:28:45 +08:00
Alastor Wu
6a38526a4d
Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku.
2015-12-24 17:17:30 +08:00
Sebastian Hengst
3c1eb47e3a
Backed out changesets 961f205d340d, 14a4637e9d96 and 14a4637e9d96 (bug 1228564) for failing Android M(4) test_browserElement_inproc_AudioChannel.html. r=backout
2015-12-27 22:28:08 +01:00
Alastor Wu
7ff9329b36
Bug 1228564 - part 2 : check audio capturing when the agent is registered/unregistered. r=baku.
...
--HG--
extra : commitid : B7NcXGTFGrv
2015-12-24 17:28:45 +08:00
Alastor Wu
b4cb129af1
Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku.
...
--HG--
extra : commitid : JZF4VU0qxpg
2015-12-24 17:17:30 +08:00
Karl Tomlinson
dbdd106a64
bug 1225003 null-check mBuffer in SizeOfExcludingThis() r=padenot
...
--HG--
extra : rebase_source : b8b63f861e2d58d4b45a4d4ec3d7c187afc882b6
2015-11-17 08:58:48 +13:00
Paul Adenot
ff0b8109b3
Bug 1219403 - r=karlt
...
--HG--
extra : rebase_source : 90488330acc388d8f04ac5a5cd3d330c9768d5a7
2015-11-05 09:36:25 +01:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Andrea Marchesini
c53e405b13
Bug 1211511 - AudioChannelAgent::NotifyStartedPlaying and NotifyStoppedPlaying should use the same level of playback notification, r=roc
2015-10-07 20:06:47 +01:00
sajitk
eb1836bb1e
Bug 1180940 - Changed return type of AudioDestinationNode::CreateAudioChannelAgent method to return errors, if any methods that it calls fail. Added code to handle the return value in AudioContext::Init(), and its callers. r=baku
2015-10-05 04:35:00 +02:00
Nigel Babu
906147b670
Backed out changeset 04430cc26dba (bug 1180940) for Mulet Gij(4) bustage again.
...
--HG--
extra : amend_source : 3a0164d64d841349526acd11223cd88501a996f5
2015-10-01 13:53:14 +05:30
sajitk
43d9468d87
Bug 1180940 - Changed return type of AudioDestinationNode::CreateAudioChannelAgent method to return errors, if any methods that it calls fail. Added code to handle the return value in AudioContext::Init(), and its callers. r=baku
2015-09-30 17:51:00 +02:00
Karl Tomlinson
dc7019feef
bug 864171 move "extra" time accounting for AudioContext with no nodes to destination stream r=padenot
...
--HG--
extra : rebase_source : 28cb7a858721e80d68603c4adeaea55eb17f13ba
2015-09-23 19:05:46 +12:00
Karl Tomlinson
504ac09b2d
bug 1053011 align "extra" time on AudioContext with processing block size r=padenot
...
--HG--
extra : rebase_source : efaf55d88a5c25e01d56a701a0f88205d67424f8
2015-09-23 19:52:26 +12:00
Nigel Babu
c0f6363af9
Backed out changeset 49847eb6c1ce (bug 1180940) for Mulet Gij(4) bustage on CLOSED TREE
2015-09-24 12:37:52 +05:30
sajitk
33f44061ca
Bug 1180940 - Changed return type of AudioDestinationNode::CreateAudioChannelAgent method to return errors, if any methods that it calls fail. Added code to handle the return value in AudioContext::Init(), and its callers. r=baku
2015-09-22 18:16:00 +02:00
Karl Tomlinson
7fe490cca6
bug 1207003 add GraphTime parameter to ProcessBlock() and remove GetCurrentPosition() r=padenot
...
This is immediately useful for making the track unnecessary, but will also be
required when switching to the destination node stream for tracking time (bug
1205558) because using GetCurrentPosition() on the destination node stream
would give different results depending on the stream processing order (when
called during processing of streams not strictly upstream from the destination
node).
--HG--
extra : rebase_source : 7a3432b2e6a20fa3f42be05776c178dfda64d166
2015-09-18 17:05:25 +12:00
Karl Tomlinson
57f288f403
bug 1205540 provide querying whether engines need to continue processing even without input r=padenot
...
--HG--
extra : rebase_source : 08dfd9685c49b93a9ca113434f62d92de26f58e7
2015-09-09 08:54:03 +12:00
Carsten "Tomcat" Book
1ae732f5ba
Backed out 5 changesets (bug 1205540) for Assertion Failurs in m2-e10s tests on a CLOSED TREE
...
Backed out changeset e89d8182d588 (bug 1205540)
Backed out changeset abace4cdec06 (bug 1205540)
Backed out changeset b3f6e1db7233 (bug 1205540)
Backed out changeset 0d122cb34921 (bug 1205540)
Backed out changeset 4de5f87180fb (bug 1205540)
2015-09-18 16:36:33 +02:00
Karl Tomlinson
ee25bfb081
bug 1205540 provide querying whether engines need to continue processing even without input r=padenot
...
--HG--
extra : rebase_source : 76545deae4cdc929f1b3ce4d10065f99f21a2ec3
2015-09-09 08:54:03 +12:00
Robert O'Callahan
86c380603b
Bug 1189506. Convert ChangeExplicitBlockerCount to MediaStream::Suspend/Resume. r=padenot
...
--HG--
extra : commitid : EAfe35GbRPL
extra : rebase_source : f6da37f3a9e8eefbdcf3e6787ec7edcc99e53859
2015-09-11 01:45:36 +12:00
Robert O'Callahan
a320393b12
Bug 1189506. Pass AudioContext to AudioNodeStream::Create. r=karlt
...
--HG--
extra : commitid : 2WtlMxxGnj1
extra : rebase_source : 31d3c936c139df1348249df1f34e5206d38647db
2015-09-09 01:22:16 +12:00
Karl Tomlinson
e74d20e2da
bug 1197028 use AudioBlock for web audio processing to reuse buffers shared downstream r=padenot
...
--HG--
extra : rebase_source : d2e403ae64a314177cba4d596ea235eb351ad3bc
2015-09-03 19:01:50 +12:00
Karl Tomlinson
e32bdd4030
bug 1197028 use AudioChunk::ChannelCount() r=padenot
...
--HG--
extra : rebase_source : 033220c221f33fb4230f1384427d24e9b0b01213
2015-09-03 17:30:16 +12:00
Paul Adenot
8eb4594e21
Bug 1190676 - Part 10 - Fix consumers: AudioDestinationNode. r=karlt
...
--HG--
extra : rebase_source : 6cbad24c90bb83b1ee44a299f8eadd8eabff53cf
2015-08-25 10:30:43 +02:00
Karl Tomlinson
605cd07259
bug 1199561 delay offline buffer allocation until non-null input is received r=padenot
...
The avoids the allocation and copying altogether when the output buffer
is silent.
--HG--
extra : rebase_source : f225628dc9bb2ea0cd0ec414a2212e39da92405f
2015-08-24 19:34:15 +12:00
Karl Tomlinson
b8ba84787a
bug 1199560 finish offline audio context processing even when allocation fails r=padenot
...
ProcessBlock() needs to return aFinished = true at some point.
--HG--
extra : rebase_source : 941371af142472ddf25a380b57f5e6f2f2d3029f
2015-08-24 19:29:15 +12:00