Karl Tomlinson
c3c3a90bcb
bug 1457058 remove unused GraphDriver::RemoveCallback() r=padenot
...
MozReview-Commit-ID: 3ZWfWEJ7bko
--HG--
extra : rebase_source : 2bd9b8fd0f87f87905606f5550c9645fbe68b465
2018-04-26 17:50:59 +12:00
Chris Peterson
0129d900f3
Bug 1436263 - Part 2: Replace `override final` virtual function specifiers with just `final`. r=froydnj
...
MozReview-Commit-ID: 70gt5SUu4Dv
--HG--
extra : rebase_source : 71912c6bde22aaed01e70615a4ee794a36e70d0e
extra : source : 1c22d4c65d70b797ee3e963ec426c90e1f89b5e3
2018-02-05 22:50:00 -08:00
Narcis Beleuzu
a8f33facb2
Backed out changeset db713228c8e3 (bug 1425150) for wpt failures on core/platform.cpp r=abackout on a CLOSED TREE
2017-12-14 23:23:20 +02:00
Paul Adenot
17ca0b45f8
Bug 1425150 - Register AudioCallbackDriver to the Gecko Profiler. r=jya
...
MozReview-Commit-ID: 3rJbF8Kq0zx
--HG--
extra : rebase_source : 49719ea92da9c1c556b1c3d10a06d3f2cdc3b08f
2017-12-13 17:10:14 -06:00
Alex Chronopoulos
758db182f3
Bug 1419378 - Fail before stream init when output number of channels is zero. r=padenot
...
MozReview-Commit-ID: G2bjXhAXiqz
--HG--
extra : rebase_source : 21cf22e4afd4065835a5323ed0ab44a55035f0db
2017-11-28 12:57:02 +02:00
Karl Tomlinson
2f98789374
bug 1382366 disable AudioCallback -> SystemClockDriver fallback before disowning graph f=pehrsons r=padenot
...
MozReview-Commit-ID: ESr6yxjPVWf
--HG--
extra : histedit_source : eb60aa28970548a65b31e79ba0c7efaaf27268cc
2017-11-04 19:00:46 +13:00
Karl Tomlinson
ef7235b44f
bug 1382366 move declaration of mWaitState to SystemClockDriver f=pehrsons r=padenot
...
MozReview-Commit-ID: IBqJRjL2Ruk
--HG--
extra : histedit_source : bf467862aa715292c446fa037958338993096441
2017-11-04 11:02:52 +13:00
Karl Tomlinson
9aec4911f8
bug 1408276 remove unused GraphDriver::Destroy() r=padenot
...
MozReview-Commit-ID: 1eonMAWKubq
--HG--
extra : amend_source : bc4193e7041b25407422d49e4e12c81d24c66e72
2017-10-09 22:09:00 +13:00
Karl Tomlinson
a7bb0b6a26
bug 1406830 store the AsyncCubeTask SharedThreadPool reference on the AudioCallbackDriver r=jesup,padenot
...
The first AsyncCubebTask dispatch from AudioCallbackDriver::Start() may either
be from MediaStreamGraphImpl::RunInStableState() on the main thread or
ThreadedDriver::RunThread() on a threaded driver thread.
These could potentially occur concurrently when there are multiple
MediaStreamGraphs.
This change removes the race around setting sThreadPool.
SharedThreadPool::Get() would have returned the same pointer, and so
that race was probably mostly benign apart from the potential to add an
extra reference and so hang on shutdown in SharedThreadPool::SpinUntilEmpty().
Storing the reference to the SharedThreadPool on the object using it is the
typical way to use SharedThreadPool. It lets the thread pool be released when
not in use, and lets SharedThreadPool deal with multi-thread access and
shutdown.
MozReview-Commit-ID: 8WutVsAMfJo
--HG--
extra : rebase_source : a3d0ce75d65889fff47389ccd80640c3f1150244
2017-09-26 17:28:17 +13:00
Karl Tomlinson
7299e56b0b
bug 1406830 reimplement Shutdown() as virtual separately on each driver r=padenot
...
moving Stop() to AudioCallbackDriver only.
MozReview-Commit-ID: 9atG8R4wAsY
--HG--
extra : rebase_source : 0addeae733c001f4e5c6cd2d55cbb0b069863864
2017-09-28 15:05:36 +13:00
Karl Tomlinson
4f358ada69
bug 1406830 remove unused GraphDriver::Resume() r=padenot
...
MozReview-Commit-ID: IPpyxOHESLW
--HG--
extra : rebase_source : 404e86e6db9c42df64d306697e13b6da1f0c793c
2017-09-28 14:55:20 +13:00
Paul Adenot
ec46b8ffb1
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
3e7a54981e
Bug 1360334 - Improve error handling. r=padenot
...
MozReview-Commit-ID: 5tIXzzisg0V
--HG--
extra : source : 0dc85355af3d166038ccf6e0fd161bd614b0ead2
2017-09-08 16:41:36 +02:00
Sebastian Hengst
3a76476175
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
0bdbb7d2aa
Bug 1360334 - Improve error handling. r=padenot
2017-09-08 16:41:36 +02:00
Paul Adenot
097de34e5b
Bug 1395593 - Don't query the maximum channel count in ::PlayAudio using cubeb. r=achronop
...
MozReview-Commit-ID: 97ri5vhzsRF
--HG--
extra : rebase_source : 56bc0f44566dfc3e271444f8dfc9f89e12a1a0a1
2017-08-31 17:14:34 +02:00
Chun-Min Chang
b0e140e2a2
Bug 1392930 - part 3: Make AudioCallbackDriver inherit from DeviceChangeListener; r=padenot
...
--HG--
extra : rebase_source : a6d87257004fe4954044c0ccd70ca4b4f597099a
2017-08-29 17:45:44 +08:00
Alex Chronopoulos
c9d4805a3f
Bug 1378070 - Implement multichannel WebAudio. r=padenot
...
* * *
[mq]: rebase
MozReview-Commit-ID: KJwH3ZeJn55
--HG--
extra : rebase_source : 0e9866c8dc5ccb98a9654c1e18b0bcef1ef5afa8
2017-08-28 17:16:20 +03:00
Matthew Gregan
2f8cc7804c
Bug 1388236 - Remove B2G-only AudioChannel code from MSG. r=padenot
2017-08-10 13:00:08 +12:00
Paul Adenot
e55c008768
Bug 1372247 - Make the AudioOutputObserver a member of the MediaEngineWebRTCMicrophoneSource so it's not a global singleton anymore. r=jesup
...
MozReview-Commit-ID: 3yC1PvG3sW7
--HG--
extra : rebase_source : 950c1633d127ee0b6670b112bb31637a8851a583
2017-06-12 17:14:26 +02:00
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
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
Paul Adenot
b4146d6b6d
Bug 1289678 - Fix warning as errors on a CLOSED TREE.
2016-07-28 13:17:46 +02: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
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01: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
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
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
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
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
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
1182293e13
Backed out changeset 83f16bb75412 (bug 1221587)
...
--HG--
extra : commitid : 5NqG0JIgDN0
2016-01-21 17:28:23 -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
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
a621cb7376
Bug 1221587: change audio listeners for full-duplex audio r=padenot
...
--HG--
extra : commitid : 9yDpe5JP1eS
2016-01-21 11:51:36 -05:00