Commit Graph

112 Commits

Author SHA1 Message Date
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