Paul Adenot
3d4ebd823c
Bug 1403041 - Don't re-enter libcubeb from the audio thread. r=kinetik
...
This delays initializing the channel count until actually initializing the
cubeb stream for an AudioCallbackDriver.
The constructor of an AudioCallbackDriver is usually called from the previous
driver's thread (be it a system thread or the audio callback, the exception
being when it's the first time a GraphDriver is being created), while the
AudioCallbackDriver::Init method is always called from a special thread that is
specially created to run potentially long and blocking operations, such as
creating an audio stream.
MozReview-Commit-ID: GFx85N8PlKX
2017-09-28 16:57:46 +02:00
Paul Adenot
cb48a674e9
Bug 1403041 - Fix typo in AudioCallbackDriver member. r=kinetik
...
s/mOuputChannelCount/mOutputChannelCount/
MozReview-Commit-ID: Kv03aSKnfQa
2017-09-26 12:05:01 +02:00
Andreas Pehrson
3e58f89355
Bug 1360334 - Improve error handling. r=padenot
...
MozReview-Commit-ID: 5tIXzzisg0V
2017-09-08 16:41:36 +02:00
Sebastian Hengst
43f76fdb79
Backed out changeset a3eabb355005 (bug 1360334) for build bustaget at dom/media/GraphDriver.cpp:200: cannot pass non-trivial object of type 'RefPtr<mozilla::GraphDriver>' to variadic function. r=backout on a CLOSED TREE
2017-09-09 18:00:49 +02:00
Andreas Pehrson
9acfd0c5b1
Bug 1360334 - Improve error handling. r=padenot
2017-09-08 16:41:36 +02:00
Alex Chronopoulos
fff8ac3588
Bug 1392837 - Support multichannel audio input on gUM. r=padenot
...
MozReview-Commit-ID: FKCIAo4a8jy
2017-09-04 17:26:03 +03:00
Alex Chronopoulos
f17211ad5a
Bug 1395195 - Restrict min number of channels on AudioCallbackDriver's helper buffers. r=padenot
...
MozReview-Commit-ID: 5eAhN4x6U4q
2017-08-31 16:43:01 +03:00
Chun-Min Chang
f4b4465522
Bug 1392930 - part 3: Make AudioCallbackDriver inherit from DeviceChangeListener; r=padenot
2017-08-29 17:45:44 +08:00
Alex Chronopoulos
9cff96dda8
Bug 1378070 - Implement multichannel WebAudio. r=padenot
...
* * *
[mq]: rebase
MozReview-Commit-ID: KJwH3ZeJn55
2017-08-28 17:16:20 +03:00
Paul Adenot
cd7eab36a3
Bug 1388243 - r=jesup
...
MozReview-Commit-ID: Jexghw0QFrB
2017-08-21 11:56:13 +01:00
Matthew Gregan
732e0cc4ee
Bug 1388236 - Remove B2G-only AudioChannel code from MSG. r=padenot
2017-08-10 13:00:08 +12:00
Matthew Gregan
2a92538e77
Bug 1388229 - Remove B2G-only audio stream type handling. r=kamidphish
2017-08-10 13:00:07 +12:00
Eric Rahm
0c7237960f
Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly
...
MozReview-Commit-ID: 1zzP2r01B7U
2017-08-08 14:41:05 -07:00
Paul Adenot
3e850de877
Bug 1378067 - Label more runnables in dom/media (GraphDriver.cpp, CubebUtils.cpp, DOMMediaStream.cpp). r=jesup
...
MozReview-Commit-ID: EQzR1AfzvzE
2017-07-18 11:26:58 +02:00
Sebastian Hengst
577b32c852
Backed out changeset 6dc016256eba (bug 1378067) for bustage at dom/media/webaudio/WebAudioUtils.cpp:107. r=backout on a CLOSED TREE
2017-07-18 11:51:22 +02:00
Paul Adenot
770a73708c
Bug 1378067 - Label more runnables in dom/media (GraphDriver.cpp, CubebUtils.cpp, DOMMediaStream.cpp). r=jesup
...
MozReview-Commit-ID: EQzR1AfzvzE
2017-07-18 11:26:58 +02:00
Paul Adenot
cf9c3d0a3d
Bug 1312623 - Don't attempt to shutdown a thread in the dtor of a GraphDriver, since it might be called during stable state. r=smaug
...
MozReview-Commit-ID: HA67HQQrfow
2017-07-04 09:21:23 +02:00
Alex Chronopoulos
9cebd0e9bc
Bug 1380233 - New signature for cubeb_get_min_latency. r=kinetik
...
MozReview-Commit-ID: 4vh6atnnRpS
2017-07-13 13:06:02 +03:00
Carsten "Tomcat" Book
8f40d14bcc
merge mozilla-inbound to mozilla-central a=merge
2017-06-30 12:59:45 +02:00
Paul Adenot
7a539b407c
Bug 1372247 - Make the AudioOutputObserver a member of the MediaEngineWebRTCMicrophoneSource so it's not a global singleton anymore. r=jesup
...
MozReview-Commit-ID: 3yC1PvG3sW7
2017-06-12 17:14:26 +02:00
Alex Chronopoulos
0839dd5fa7
Bug 1213414 - Implement channelCount audio constraint. r=jib,padenot
...
MozReview-Commit-ID: K95iBYOE1nR
2017-06-29 21:01:17 -07:00
Bill McCloskey
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bill McCloskey
44974a4452
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
3e45458e13
Bug 1368448 - After full duplex AEC info can be found in MSG. r=padenot
...
MozReview-Commit-ID: Atfjf1iu48k
2017-06-06 12:26:39 +03:00
Alex Chronopoulos
6d746f268e
Bug 971528 - Allow stereo capture in AudioCallbackDriver. r=padenot
...
* * *
[mq]: graph-driver-comments
MozReview-Commit-ID: JnU3opk8X5K
* * *
[mq]: tmp
MozReview-Commit-ID: 73CtZw4CRG
2017-06-02 09:11:56 +03:00
Sebastian Hengst
e92793b61a
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
b2fbc0f5d4
Bug 971528 - Allow stereo capture in AudioCallbackDriver. r=padenot
...
* * *
[mq]: graph-driver-comments
MozReview-Commit-ID: JnU3opk8X5K
* * *
[mq]: tmp
MozReview-Commit-ID: 73CtZw4CRG
2017-05-29 13:26:27 +03:00
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