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

183 Коммитов

Автор SHA1 Сообщение Дата
Bill McCloskey d6affd5261 Bug 1365098 - Convert NS_GetCurrentThread uses in dom/media (r=cpearce)
MozReview-Commit-ID: DUPt6xj49zz
2017-06-12 20:20:08 -07:00
Alex Chronopoulos b62929dc13 Bug 1368448 - After full duplex AEC info can be found in MSG. r=padenot
MozReview-Commit-ID: Atfjf1iu48k

--HG--
extra : rebase_source : 18704da62dd2428f85bd430b551b4567424cfdc6
2017-06-06 12:26:39 +03:00
Alex Chronopoulos a88c8ec84a Bug 971528 - Allow stereo capture in AudioCallbackDriver. r=padenot
* * *
[mq]: graph-driver-comments

MozReview-Commit-ID: JnU3opk8X5K
* * *
[mq]: tmp

MozReview-Commit-ID: 73CtZw4CRG

--HG--
extra : rebase_source : eda1c9429de289dff1b1c235d8c505828a4b3ed2
2017-06-02 09:11:56 +03:00
Sebastian Hengst c3adb686ab Backed out changeset 4481be95f232 (bug 971528) for build bustage in MediaEngineWebRTC.h (at least on OS X). r=backout 2017-06-01 18:26:17 +02:00
Alex Chronopoulos fa245fd24c Bug 971528 - Allow stereo capture in AudioCallbackDriver. r=padenot
* * *
[mq]: graph-driver-comments

MozReview-Commit-ID: JnU3opk8X5K
* * *
[mq]: tmp

MozReview-Commit-ID: 73CtZw4CRG

--HG--
extra : rebase_source : cf6942aeaf4c2831fce4d92de0c5eeaaba7c0cd6
2017-05-29 13:26:27 +03:00
Carsten "Tomcat" Book eff0fbf63b Backed out changeset e0bab3ab79ff (bug 971528) for asan mda failures on a CLOSED TREE 2017-04-27 13:02:47 +02:00
Alex Chronopoulos e79da75180 Bug 971528 - Allow stereo capture in AudioCallbackDriver. r=padenot
* * *
[mq]: graph-driver-comments

MozReview-Commit-ID: JnU3opk8X5K
* * *
[mq]: tmp

MozReview-Commit-ID: 73CtZw4CRG

--HG--
extra : rebase_source : bca0932ccffc6348260039fc7ec829245a9b2236
2017-04-27 10:24:25 +03:00
Sebastian Hengst 48d0fe2217 Backed out changeset cce59c2a2baa (bug 971528) for crashing in mda tests, e.g. dom/media/tests/mochitest/identity/test_peerConnection_asymmetricIsolation.html. r=backout 2017-04-24 19:11:46 +02:00
Alex Chronopoulos c8b9a5a3df Bug 971528 - Allow stereo capture in AudioCallbackDriver. r=padenot
* * *
[mq]: graph-driver-comments

MozReview-Commit-ID: JnU3opk8X5K
* * *
[mq]: tmp

MozReview-Commit-ID: 73CtZw4CRG

--HG--
extra : rebase_source : 1fc6ebb1265514cfbb9c8e969ae7e3b269ba9527
2017-04-24 19:05:24 +03:00
JW Wang 79d42d9703 Bug 1350202 - use shorter names for logging macros in MediaDecoder.cpp. r=kaku
MozReview-Commit-ID: E2OnbXb82Zb

--HG--
extra : rebase_source : d1de2002a7bb446b10aaeb4e03a56ce3a63f6ae4
2017-03-24 11:17:17 +08:00
Paul Adenot 76e574e1c0 Bug 1340718 - When the cubeb stream errors out while driving a MediaStreamGraph, fall back to a SystemClockDriver. r=jesup
MozReview-Commit-ID: Co1UIuU7bCu

--HG--
extra : rebase_source : 7436e871e6ece2da7e44b3a2d242c012d57bfe97
2017-02-24 16:42:20 +01:00
Paul Adenot 36370e3c12 Bug 1336945 - Modernize MSG/GraphDriver logging. r=jesup
MozReview-Commit-ID: 5Redgg5uaQG
2017-02-06 16:22:36 +01:00
Jean-Yves Avenard b7844bd5c3 Bug 1319987: P9. More coding style fixes. r=gerald
MozReview-Commit-ID: DhFRqkWQZny

--HG--
extra : rebase_source : 03ed44efc83fe9cab7fc975229ac4e5746aff96b
2017-01-27 13:20:37 +01:00
Paul Adenot f012888dd8 Bug 1332905 - For mono or stereo in AudioStream.cpp until the rest of the code is multichannel-aware. r=achronop a=tomcat
MozReview-Commit-ID: 5eqBlPnHVk2
2017-01-23 11:36:58 +01:00
Alex Chronopoulos bad8dea079 Bug 1331869 - Initialize new field of cubeb_stream_params. r=kinetik,padenot
MozReview-Commit-ID: KZ08mckJX44

--HG--
extra : rebase_source : 6789db291ace421114055063efa37481cfc524ef
2017-01-20 16:54:00 +02:00
Ralph Giles d5608e0a47 Bug 1277037 - Make AudioCallbackDriver::StartStream fallible. r=jesup
Avoid crashing in the case that cubeb stream start fails and report
an error instead.

MozReview-Commit-ID: 75M392POyHo

--HG--
extra : rebase_source : 2c083cf129f12ad1e18d9065152cfee13987b071
2017-01-11 11:51:23 -08:00
Markus Stange 942cdc08a8 Bug 1323100 - Stop double-registering the MediaStreamGraph thread with the profiler. r=froydnj
MozReview-Commit-ID: 7WxNLZpBWL4

--HG--
extra : rebase_source : 6dee759440f94e63a82c43ec295b9a6e9c020d21
2016-12-21 23:06:45 +01:00
Alex Chronopoulos 1bb3f66458 Bug 1221574 - [02] Fix build erros with the new backend. r=jesup
MozReview-Commit-ID: n27saMBWfw
2016-11-18 18:00:48 +02:00
Randell Jesup 4875bcdbf9 Bug 1300818: bustage fix rs=kwierso on a CLOSED TREE 2016-10-14 15:13:30 -04:00
Paul Adenot 0fea3fd083 Bug 1300818 - Cap latency at 512 frames for some mac models. r=jesup
MozReview-Commit-ID: B40Tu7r8GG2
2016-10-14 18:35:35 +02:00
Paul Adenot cb690a7e56 Bug 1301648 - Add a pref to be able to control the AudioCallbackDriver requested latency. r=kinetik
MozReview-Commit-ID: 19BZUjyXFlq

--HG--
extra : rebase_source : 96df59a9b5c9f8bd7e5f8211a09b854d65833b3b
2016-09-09 15:21:50 +02:00
Matthew Gregan 0ebace12e5 Bug 1302348 - Report cubeb context init failures via telemetry. r=padenot 2016-09-16 12:54:24 +12:00
Gerald Squelart 6e6bb23cf3 Bug 1300446 - Check return value from GetCubebContext - r=kinetik
MozReview-Commit-ID: Y9b5Aq2RZE

--HG--
extra : rebase_source : 11422dc401d95cd91329b33b082b29bd193b16da
2016-08-30 17:20:10 -07: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
Randell Jesup 9f2b9ce819 Bug 1298698: Block race between EnsureNextIteration and WaitForNextIteration r=karlt 2016-08-29 10:41:01 -04:00
Kan-Ru Chen b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +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
Paul Adenot 0cb3352625 Bug 1289678 - Don't count audio stream creation failures when retrying on Telemetry. r=kinetik
When failing to create an audio stream, we fallback to a SystemClockDriver
marked as being a "fallback driver". When failing again to open an audio stream
after re-trying, we can check whether we came from a fallback driver, and not
report the failure again to telemetry.

MozReview-Commit-ID: FAdQ0pCtC3m
2016-07-27 15:18:17 +02:00
Paul Adenot 5ce5a2cc20 Bug 1283020 - Update cubeb consumers to pass in latency in frames and not in ms. r=achronop
MozReview-Commit-ID: D7HjHNPRIre
2016-07-20 15:02:23 +02:00
Wes Kocher cdd7fc4a11 Backed out changeset 344300260f4c (bug 1283020) for frequent m(gl) failures CLOSED TREE 2016-07-20 15:08:09 -07:00
Paul Adenot 4e73b0eead Bug 1283020 - Update cubeb consumers to pass in latency in frames and not in ms. r=achronop
MozReview-Commit-ID: D7HjHNPRIre
2016-07-20 15:02:23 +02:00
Paul Adenot be6cf8e090 Bug 1280630 - Add telemetry probes to know which cubeb back-end is used the most. r=kinetik data-review=bsmedberg
MozReview-Commit-ID: AxJlcxjYh3M
2016-06-23 17:50:52 +02:00
Randell Jesup 1a755503cb Bug 1258079 - hold a ref to the GraphDriver during initialization. r=padenot
--HG--
extra : rebase_source : c50ec6121f0304901583766dbeb872b57ffd1e71
2016-06-07 16:26:20 -04:00
Paul Adenot d5fef47a98 Bug 1277284 - Bustage fix in opt, on a CLOSED TREE.
MozReview-Commit-ID: LC7mBVas8CB
2016-06-03 15:32:52 +02:00
Paul Adenot f01e0bea9e Bug 1277284 - Reset the volume when starting a new audio stream for a MediaStreamGraph. r=jesup
This prevents having the volume set to zero in some cases.

MozReview-Commit-ID: 4JSCDcd7jmT

--HG--
extra : rebase_source : bcc4b7229160e7cbe7ee4e7a4c712b497f7cbe16
2016-06-02 15:46:17 +02:00
Paul Adenot 6e48370b67 Bug 1268861 - Insert the input data first and then run the graph iteration. r=jesup
This allows the graph to immediately process the input data instead of waiting
an iteration.

MozReview-Commit-ID: EGPUlPdKB6K
2016-04-29 15:16:46 +02:00
Randell Jesup 62e918c87a Bug 1267600 - Ask the main thread to shut down the SystemClockDriver if needed. r=jesup
MozReview-Commit-ID: 3v74w9UN4o3
2016-04-26 15:33:14 -04:00
Sebastian Hengst 6ae866f41c Backed out changeset 1fa138c4519b (bug 1267600) for bustage. r=bustage on a CLOSED TREE 2016-04-26 21:49:34 +02:00
Randell Jesup 6d4db8c98f Bug 1267600 - Ask the main thread to shut down the SystemClockDriver if needed. r=jesup
MozReview-Commit-ID: 3v74w9UN4o3
2016-04-26 15:33:14 -04: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
Paul Adenot 8fda7f21b4 Bug 1266438 - Remove workaround on OSX when switching device, not necessary with duplex mode. r=jesup
MozReview-Commit-ID: 7IontuEuiQj
2016-04-22 16:24:19 +02:00
Paul Adenot b3adcea90b Bug 1266438 - Reset the AEC and other processing when audio devices change. r=jesup
MozReview-Commit-ID: Jrr9E9ZSukv
2016-04-22 16:24:17 +02:00
Randell Jesup ca7a35732f Bug 1264195: Re-add SetMicrophoneActive() calls into the GraphDriver r=padenot
With bustage fix for warnings as errors
2016-04-13 14:31:35 -04:00
Sebastian Hengst 34207787dd Backed out changeset 53f96832a304 (bug 1264195) for building halting with error "GraphDriver.h:536:8: error: private field 'mMicrophoneActive' is not used". r=backout on a CLOSED TREE 2016-04-13 20:44:52 +02:00
Randell Jesup 68a3156330 Bug 1264195: Re-add SetMicrophoneActive() calls into the GraphDriver r=padenot 2016-04-13 14:31:35 -04:00
Andreas Pehrson 37bfed3d74 Bug 1208371 - Make GraphDriver callback log calls verbose. r=padenot
MozReview-Commit-ID: 33ZZXInHhhx

--HG--
extra : rebase_source : 282bf08a647e13b49c22cfe86a44b10c8bb99a4d
2016-01-05 10:16:31 +08:00
Mats Palmgren bd8a2afe08 Bug 1261627 - Unbreak --disable-webrtc builds. r=cpearce 2016-04-02 12:04:00 -04:00
Randell Jesup ce36c0e082 Bug 1258942: Lock around DeviceID access for audio inputs r=padenot
MozReview-Commit-ID: DQ5FBW4H8mX
2016-04-01 00:18:13 -04:00
Randell Jesup 3fd01980f6 Bug 1258144: warnings-as-errors bustage r=cpearce
MozReview-Commit-ID: 6CIkX6F6cl2
2016-03-28 21:00:21 -04:00
Randell Jesup d990461ce1 Bug 1258144: Flip warning sense typo in original patch for bug r=cpearce
MozReview-Commit-ID: dztvbBSYyI
2016-03-28 20:02:40 -04:00
Randell Jesup 9160c662c3 Bug 1258144: Don't start a thread for SystemClockDriver if already started r=padenot 2016-03-22 11:30:06 +01:00
Randell Jesup 9865e1f013 Bug 1257616: We can release Conduits immediately if we're on MainThread already r=drno 2016-03-17 20:45:09 -04:00
Randell Jesup ef46e30953 Bug 1256510: When shutting down MediaStreamGraphs, if the graph hasn't started, let it start and shut down r=padenot
MozReview-Commit-ID: 64WjTbaduvu
2016-03-15 11:46:01 -04:00
Randell Jesup 5a9c0ee8db Bug 1255217: Don't require getUserMedia/cubeb device enumeration mapping if --disable-webrtc is set r=padenot
MozReview-Commit-ID: 1XtSXlhWn37
2016-03-15 11:11:30 -04:00
Randell Jesup a237d6632f Bug 1250934: Only dig out cubeb deviceIDs immediately before use since they can be freed r=padenot
MozReview-Commit-ID: CyIk4WCuJ9s
2016-03-08 12:11:09 -05:00
Randell Jesup 85f3c6a92d Bug 1245216: Fix getUserMedia input in full_duplex mode coming from the wrong place r=padenot
Also cleanup of an leftover overrridden interface, and re-add a line lost in merges

MozReview-Commit-ID: 7sjtbbtq1RG
2016-02-17 13:19:02 -05:00
Randell Jesup 0a6b21aecf Bug 1245216: plumb preferred sample rate from full_duplex cubeb through NotifyInput/Output r=padenot
MozReview-Commit-ID: 4F9LwSIZ5OA
2016-02-17 13:19:01 -05:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Randell Jesup 577bce0291 Bug 1221587: stall MSG final shutdown until AudioCallbackDriver shutdown has finished r=pehrsons
--HG--
extra : commitid : JidvC1L3ZGw
2016-01-22 02:39:42 -05:00
Randell Jesup a853e094df Bug 1221587: Update for API changes in cubeb r=padenot
--HG--
extra : commitid : C4GE8epQXOe
2016-01-21 11:51:36 -05:00
Randell Jesup 5a17e5fbbe Bug 1237414: Switch AsyncCubebOperation to a SharedThreadPool r=padenot
--HG--
extra : commitid : Ir2a54CKDuu
2016-01-21 11:51:36 -05:00
Andreas Pehrson 29501a346e Bug 1221587: Improve logging of callback driver/switching r=padenot
--HG--
extra : commitid : 4UyAMF8FZRT
2016-01-06 16:20:20 +08:00
Randell Jesup 883822a751 Bug 1221587: Implement switching of AudioCallbackDrivers for full-duplex r=padenot
--HG--
extra : commitid : JOwwqkcwHb
2016-01-21 11:51:36 -05:00
Randell Jesup 46878bf96f Bug 1221587: use cubeb devids to select input devices r=padenot
--HG--
extra : commitid : AH6Lt4KfNaF
2016-01-21 11:51:36 -05:00
Randell Jesup be7d8f1d36 Bug 1221587: change audio listeners for full-duplex audio r=padenot
--HG--
extra : commitid : HGZSv3IY3OF
2016-01-21 11:51:36 -05:00
Paul Adenot 439679b676 Bug 1221587: allow getUserMedia to use full-duplex cubeb streams r=padenot
--HG--
extra : commitid : DQAIBehrpU3
2016-01-21 11:51:36 -05:00
Randell Jesup 6d7d97d7bc Bug 1221587: Base update of the MSG API for full-duplex r=padenot
--HG--
extra : commitid : Kf1JpZKH7LH
2016-01-21 11:51:35 -05:00
Andreas Pehrson 3121c632b9 Bug 1221587: Rename MediaStreamGraphShutdownThreadRunnable2 r=padenot
--HG--
extra : commitid : Ashu9ch65Fa
2016-01-21 11:51:35 -05:00
Wes Kocher d67e3ac502 Backed out changeset ff93a27168c4 (bug 1221587)
--HG--
extra : commitid : CiVMabCPpL4
2016-01-21 17:28:31 -08:00
Wes Kocher d8d8cf6b90 Backed out changeset 3bd606775747 (bug 1221587)
--HG--
extra : commitid : 73qThGgq9ee
2016-01-21 17:28:29 -08:00
Wes Kocher ef637b17e9 Backed out changeset 1c3afb2f433b (bug 1221587)
--HG--
extra : commitid : JErfAFCW3YJ
2016-01-21 17:28:28 -08:00
Wes Kocher 4d52f1b36b Backed out changeset 765fa97d2407 (bug 1221587)
--HG--
extra : commitid : GLNtVETOSsb
2016-01-21 17:28:26 -08:00
Wes Kocher 71e2d1b3e4 Backed out changeset 8af4dd12d47c (bug 1221587)
--HG--
extra : commitid : AD53AdwdwaG
2016-01-21 17:28:25 -08:00
Wes Kocher 1182293e13 Backed out changeset 83f16bb75412 (bug 1221587)
--HG--
extra : commitid : 5NqG0JIgDN0
2016-01-21 17:28:23 -08:00
Wes Kocher ddad02ab4c Backed out changeset d063509e90f7 (bug 1221587)
--HG--
extra : commitid : 846AZmabrhV
2016-01-21 17:28:21 -08:00
Wes Kocher b8d7a67ec2 Backed out changeset 919961c56977 (bug 1237414)
--HG--
extra : commitid : HxcKenYSkYS
2016-01-21 17:28:17 -08:00
Wes Kocher 6a60db7718 Backed out changeset ff326b0cc099 (bug 1221587)
--HG--
extra : commitid : IaIBmzsd7rp
2016-01-21 17:28:14 -08:00
Randell Jesup 600178b7d6 Bug 1221587: Update for API changes in cubeb r=padenot
--HG--
extra : commitid : B6ZRzya3bL6
2016-01-21 11:51:36 -05:00
Randell Jesup 7fd20ed26a Bug 1237414: Switch AsyncCubebOperation to a SharedThreadPool r=padenot
--HG--
extra : commitid : FqbLPdXNKAa
2016-01-21 11:51:36 -05:00
Andreas Pehrson f41ad034e5 Bug 1221587: Improve logging of callback driver/switching r=padenot
--HG--
extra : commitid : 72dxUhmH4Wm
2016-01-06 16:20:20 +08:00
Randell Jesup c00d287af2 Bug 1221587: Implement switching of AudioCallbackDrivers for full-duplex r=padenot
--HG--
extra : commitid : 7b8MdK7aRfk
2016-01-21 11:51:36 -05:00
Randell Jesup 2501b5c4c1 Bug 1221587: use cubeb devids to select input devices r=padenot
--HG--
extra : commitid : 80Zdtlc9zJI
2016-01-21 11:51:36 -05:00
Randell Jesup a621cb7376 Bug 1221587: change audio listeners for full-duplex audio r=padenot
--HG--
extra : commitid : 9yDpe5JP1eS
2016-01-21 11:51:36 -05:00
Paul Adenot 61fbf51469 Bug 1221587: allow getUserMedia to use full-duplex cubeb streams r=padenot
--HG--
extra : commitid : AH6pOM2E3J2
2016-01-21 11:51:36 -05:00
Randell Jesup 3abc9ead67 Bug 1221587: Base update of the MSG API for full-duplex r=padenot
--HG--
extra : commitid : 4p2GpBpkEVz
2016-01-21 11:51:35 -05:00
Andreas Pehrson 018b2bea5a Bug 1221587: Rename MediaStreamGraphShutdownThreadRunnable2 r=padenot
--HG--
extra : commitid : 1aHxyrTUSON
2016-01-21 11:51:35 -05:00
Paul Adenot 8ea628a72b Bug 1203585 - Remove some dead code in GraphDriver.cpp. r=jesup
--HG--
extra : commitid : LDSLPjpJdAz
2015-12-01 11:48:08 +01:00
Paul Adenot 2a78933e79 Bug 1203585 - Add threading assertions to GraphDriver switching methods. r=jesup
--HG--
extra : commitid : 6stjXK4ET1x
2015-12-01 11:47:59 +01:00
Paul Adenot 50fb895637 Bug 1203585 - Add new methods to GraphDriver to assert that locks are held. r=jesup
--HG--
extra : commitid : E8XmcSExg9V
2015-12-01 11:47:31 +01:00
Bogdan Postelnicu ae22c83be6 Bug 1230902 - initialize mSampleRate and mMicrophoneActive. r=cpearce 2015-12-07 02:17:00 +01:00
Dan Glastonbury 5a8ca1d0d5 Bug 1169212 - Part 1: Implemented ADTS Decoder & Demuxer. r=jya
Implemented based upon MP3 Demuxer & Decoder.
2015-12-07 15:48:59 +10:00
sajitk 582e1a55fa Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian 2015-11-15 14:49:01 +01:00
Wes Kocher f3a9eb2a26 Backed out changeset 1e5f3d1151d6 (bug 1219480) for cpp unittest bustage CLOSED TREE
--HG--
extra : commitid : BMVKq6cPeho
2015-11-11 09:36:56 -08:00
sajitk 3cbe348cdd Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian
--HG--
extra : rebase_source : c73098485fa005d914304fb6e7f8eba3c15e66dc
2015-11-11 06:52:00 +01:00
Robert O'Callahan 2c08de69e9 Bug 1215699. Ensure that AudioGraphDriver uses the MediaStreamGraph's AudioChannel. r=padenot 2015-10-23 16:43:15 +13:00
Sebastian Hengst e6d06af59f Backed out 2 changesets (bug 1215699, bug 1209994) for web platform failures. r=backout
Backed out changeset a8adf1f9d366 (bug 1209994)
Backed out changeset f5ed98fdc16e (bug 1215699)
2015-10-24 15:38:03 +02:00
Robert O'Callahan c97605eefe Bug 1215699. Ensure that AudioGraphDriver uses the MediaStreamGraph's AudioChannel. r=padenot
--HG--
extra : commitid : DMIEO7qauwZ
extra : rebase_source : e34a31e0adb0a9a6b3e4ff259d8ffdafe12e3c68
2015-10-23 16:43:15 +13: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