Commit Graph
128 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book 3a6205aaf9 Backed out changeset e0bab3ab79ff (bug 971528) for asan mda failures on a CLOSED TREE 2017-04-27 13:02:47 +02:00
Alex Chronopoulos 52cdad95cc Bug 971528 - Allow stereo capture in AudioCallbackDriver. r=padenot
* * *
[mq]: graph-driver-comments

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

MozReview-Commit-ID: 73CtZw4CRG
2017-04-27 10:24:25 +03:00
Sebastian Hengst 5d86bf67ce 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 9e31674408 Bug 971528 - Allow stereo capture in AudioCallbackDriver. r=padenot
* * *
[mq]: graph-driver-comments

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

MozReview-Commit-ID: 73CtZw4CRG
2017-04-24 19:05:24 +03:00
JW Wang 7c60790ce9 Bug 1350202 - use shorter names for logging macros in MediaDecoder.cpp. r=kaku
MozReview-Commit-ID: E2OnbXb82Zb
2017-03-24 11:17:17 +08:00
Paul Adenot 960302129e Bug 1340718 - When the cubeb stream errors out while driving a MediaStreamGraph, fall back to a SystemClockDriver. r=jesup
MozReview-Commit-ID: Co1UIuU7bCu
2017-02-24 16:42:20 +01:00
Paul Adenot 09edbc0cfe Bug 1336945 - Modernize MSG/GraphDriver logging. r=jesup
MozReview-Commit-ID: 5Redgg5uaQG
2017-02-06 16:22:36 +01:00
Jean-Yves Avenard fa1fcd710b Bug 1319987: P9. More coding style fixes. r=gerald
MozReview-Commit-ID: DhFRqkWQZny
2017-01-27 13:20:37 +01:00
Paul Adenot 235c7db008 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 eb42c57bdc Bug 1331869 - Initialize new field of cubeb_stream_params. r=kinetik,padenot
MozReview-Commit-ID: KZ08mckJX44
2017-01-20 16:54:00 +02:00
Ralph Giles 42d1d31255 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
2017-01-11 11:51:23 -08:00
Markus Stange 11b0f18db6 Bug 1323100 - Stop double-registering the MediaStreamGraph thread with the profiler. r=froydnj
MozReview-Commit-ID: 7WxNLZpBWL4
2016-12-21 23:06:45 +01:00
Alex Chronopoulos 6831c8ec23 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 afaa330d1a Bug 1300818: bustage fix rs=kwierso on a CLOSED TREE 2016-10-14 15:13:30 -04:00
Paul Adenot 4751c2c67d 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 11caba2ded Bug 1301648 - Add a pref to be able to control the AudioCallbackDriver requested latency. r=kinetik
MozReview-Commit-ID: 19BZUjyXFlq
2016-09-09 15:21:50 +02:00
Matthew Gregan 852e19d294 Bug 1302348 - Report cubeb context init failures via telemetry. r=padenot 2016-09-16 12:54:24 +12:00
Gerald Squelart 08c41f8af8 Bug 1300446 - Check return value from GetCubebContext - r=kinetik
MozReview-Commit-ID: Y9b5Aq2RZE
2016-08-30 17:20:10 -07:00
Nicholas Nethercote 887efe04d5 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.
2016-09-01 15:01:16 +10:00
Randell Jesup b9beda0dbc Bug 1298698: Block race between EnsureNextIteration and WaitForNextIteration r=karlt 2016-08-29 10:41:01 -04:00
Kan-Ru Chen a9b19d0584 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
2016-08-24 14:47:04 +08:00
Nicholas Nethercote 1f65390cc9 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.
2016-08-08 12:18:10 +10:00
Paul Adenot da20bbece3 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 b47d9c430f 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 7d32b7fb42 Backed out changeset 344300260f4c (bug 1283020) for frequent m(gl) failures CLOSED TREE 2016-07-20 15:08:09 -07:00
Paul Adenot 49523d063c 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 c5247eef90 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 1d05fde8b8 Bug 1258079 - hold a ref to the GraphDriver during initialization. r=padenot 2016-06-07 16:26:20 -04:00
Paul Adenot 79cfd9a612 Bug 1277284 - Bustage fix in opt, on a CLOSED TREE.
MozReview-Commit-ID: LC7mBVas8CB
2016-06-03 15:32:52 +02:00
Paul Adenot 6404ec2ac6 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
2016-06-02 15:46:17 +02:00
Paul Adenot c523a9541b 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 ce14230042 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 a6a0f2d538 Backed out changeset 1fa138c4519b (bug 1267600) for bustage. r=bustage on a CLOSED TREE 2016-04-26 21:49:34 +02:00
Randell Jesup 8fa9c11228 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 a9cf047227 Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Paul Adenot f8e272246e 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 ad00ffb250 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 a7f6fbed3b 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 48af6750f9 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 3ff7e2148d Bug 1264195: Re-add SetMicrophoneActive() calls into the GraphDriver r=padenot 2016-04-13 14:31:35 -04:00
Andreas Pehrson c455c49145 Bug 1208371 - Make GraphDriver callback log calls verbose. r=padenot
MozReview-Commit-ID: 33ZZXInHhhx
2016-01-05 10:16:31 +08:00
Mats Palmgren 221bec40c8 Bug 1261627 - Unbreak --disable-webrtc builds. r=cpearce 2016-04-02 12:04:00 -04:00
Randell Jesup 22efb3f404 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 627f505044 Bug 1258144: warnings-as-errors bustage r=cpearce
MozReview-Commit-ID: 6CIkX6F6cl2
2016-03-28 21:00:21 -04:00
Randell Jesup d9f971d4dc 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 06a4daaa5a Bug 1258144: Don't start a thread for SystemClockDriver if already started r=padenot 2016-03-22 11:30:06 +01:00
Randell Jesup 72a3349cd5 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 aa523eaf54 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 b34f516d27 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 077824bbb4 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