Paul Adenot
784704534a
Bug 1531833 - When the input is voice, activate the global communication mode. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D21738
--HG--
extra : moz-landing-system : lando
2019-04-16 15:42:42 +00:00
Paul Adenot
cd545b34bb
Bug 1531833 - Expose a way to set a global "communication mode" in CubebUtils, to be use by real-time duplex audio users. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D21736
--HG--
extra : moz-landing-system : lando
2019-04-16 15:42:33 +00:00
Oana Pop Rus
212a653d81
Backed out 6 changesets (bug 1531833) for geckoview failures on PermissionDelegateTest.media CLOSED TREE
...
Backed out changeset f90ad6bb8ebd (bug 1531833)
Backed out changeset 465570a54b46 (bug 1531833)
Backed out changeset e725253ee976 (bug 1531833)
Backed out changeset 74ad8e7a722b (bug 1531833)
Backed out changeset b1268e5f7023 (bug 1531833)
Backed out changeset e3ec78b2db1f (bug 1531833)
--HG--
extra : amend_source : 81aa19c352e72cac2369e014d19ec5a896538b21
2019-04-11 21:16:55 +03:00
Paul Adenot
387f4ae5fd
Bug 1531833 - When the input is voice, activate the global communication mode. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D21738
--HG--
extra : moz-landing-system : lando
2019-04-11 09:19:35 +00:00
Paul Adenot
b64c360235
Bug 1531833 - Expose a way to set a global "communication mode" in CubebUtils, to be use by real-time duplex audio users. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D21736
--HG--
extra : moz-landing-system : lando
2019-04-11 09:19:34 +00:00
Alex Chronopoulos
509d004d90
Bug 1534313 - Make GetDeviceCollection accessible only by the enumerator. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D22989
--HG--
extra : moz-landing-system : lando
2019-03-19 10:40:25 +00:00
shindli
8940f3f1cb
Backed out 4 changesets (bug 1534313) for causing a perfmafailing Gtest in /builds/worker/workspace/build/application/firefox/gmp-clearkey CLOSED TREE
...
Backed out changeset fe17244230e8 (bug 1534313)
Backed out changeset fc232edfe6e8 (bug 1534313)
Backed out changeset eae4a9ff0b9b (bug 1534313)
Backed out changeset f4252f238b68 (bug 1534313)
2019-03-18 18:53:33 +02:00
Alex Chronopoulos
7d781144c5
Bug 1534313 - Make GetDeviceCollection accessible only by the enumerator. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D22989
--HG--
extra : moz-landing-system : lando
2019-03-18 13:52:17 +00:00
Sylvestre Ledru
4aa92e3091
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Matthew Gregan
d8e4a8a825
Bug 1512445 - Enable AudioIPC build on Windows (default off via pref). r=chunmin
...
Differential Revision: https://phabricator.services.mozilla.com/D22155
--HG--
extra : moz-landing-system : lando
2019-03-07 02:05:18 +00:00
Dorel Luca
dfa0190845
Backed out 3 changesets (bug 1512445) Build bustage
...
Backed out changeset b954e5d0324a (bug 1512445)
Backed out changeset 04c1982c1a7e (bug 1512445)
Backed out changeset 0a78b7e72e1b (bug 1512445)
2019-03-06 23:28:37 +02:00
Matthew Gregan
1de0040101
Bug 1512445 - Enable AudioIPC build on Windows (default off via pref). r=chunmin
...
Differential Revision: https://phabricator.services.mozilla.com/D22155
--HG--
extra : moz-landing-system : lando
2019-03-06 20:43:30 +00:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Jean-Yves Avenard
48517afae6
Bug 1512298 - Make IPDL MozPromise exclusive. r=gerald,froydnj
...
MozPromise most common use is to have an single or exclusive listener. By making the MozPromise generated by IPDL exclusive we can also use move semantics.
While at it, we also use move semantics for the ResponseRejectReason and via the callback's reject method so that the lambda used with the MozPromise::Then can be identical to the one used by the IPDL callback.
As it currently is, it provides no advantage over a copy as it's just an enum; however, this will facilitate future changes where it may not be.
Differential Revision: https://phabricator.services.mozilla.com/D13906
--HG--
extra : moz-landing-system : lando
2018-12-11 19:22:26 +00:00
Sylvestre Ledru
804b8b8883
Bug 1204606 - Reformat of dom/media r=jya
...
# skip-blame
Differential Revision: https://phabricator.services.mozilla.com/D12251
--HG--
extra : moz-landing-system : lando
2018-11-19 13:25:37 +00:00
Alex Chronopoulos
aaea0ba012
Bug 1482150 - Make CubebDeviceEnumerator singleton. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D7604
--HG--
extra : moz-landing-system : lando
2018-11-08 12:33:26 +00:00
Cosmin Sabou
ca3d74c85c
Backed out 4 changesets (bug 1482150) for causing windows build bustages on dom/media/CubebUtils.cpp. CLOSED TREE
...
Backed out changeset 662bbd0961e5 (bug 1482150)
Backed out changeset 20a4fa9f6214 (bug 1482150)
Backed out changeset 18925888f5d7 (bug 1482150)
Backed out changeset ade887b7ba31 (bug 1482150)
2018-11-07 20:45:51 +02:00
Alex Chronopoulos
e0c6e82044
Bug 1482150 - Make CubebDeviceEnumerator singleton. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D7604
--HG--
extra : moz-landing-system : lando
2018-11-07 18:26:35 +00:00
Andreas Pehrson
16f6336ae3
Bug 1502313 - Remove concurrent audio input device limit. r=padenot
...
The limit only applied within a child process.
However, within a child process we already share cubeb stream when requesting
the same device multiple times, and disallow capturing from more than one device
at a time.
This limit no longer has any effect.
Differential Revision: https://phabricator.services.mozilla.com/D10339
--HG--
extra : moz-landing-system : lando
2018-10-31 14:22:23 +00:00
Matthew Gregan
7a42250fda
Bug 1501148
- Replace int (fd) assumptions with portable PlatformHandleType. r=chunmin
...
--HG--
extra : rebase_source : 2c88a9c9ed31a6880661f2a76a43f9d02916eaf0
2018-10-23 16:27:58 +13:00
Paul Adenot
cc3d47676e
Bug 1481152
- Restrict to a single input stream per process on Linux, when using PulseAudio and audio remoting is enabled. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D5543
--HG--
extra : moz-landing-system : lando
2018-09-25 10:04:44 +00:00
Brian Hackett
ecc7252452
Bug 1486565 - Don't initialize cubeb when recording/replaying, r=kinetik.
...
--HG--
extra : rebase_source : 7b6302026c1f64fa5e92f26bd6162d55888fcfe9
2018-08-31 05:24:38 -10:00
Paul Adenot
a5f0fee215
Bug 1480036 - Allow forcing a specific audio output device from a test. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D3507
--HG--
extra : rebase_source : 2f20dcd24d148ea0cc9f7b73ff0dd81f25574467
extra : histedit_source : aa2205caf3ad5fe9e5fceaf78e6f7a7e3488155b
2018-08-01 14:16:30 +02:00
Paul Adenot
7ca1aba8c1
Bug 1404977 - Part 14 - Add a way to set the global cubeb* singleton at runtime, from a test. r=pehrsons
...
This is for testing purposes only. Defining ENABLE_SET_CUBEB_BACKEND before
including CubebUtils.h will expose the function. This is not to be set outside
of test files.
MozReview-Commit-ID: D0V8oLj9xo6
--HG--
extra : rebase_source : e80d4c01ff3b28c300de1e6819477ea732c2f157
2018-06-22 11:45:31 +02:00
Paul Adenot
2062de82ff
Bug 1404977 - Part 1 - Add missing lock to the PREF_CUBEB_BACKEND branch of the pref callback in CubebUtils.cpp. r=pehrsons
...
MozReview-Commit-ID: CBAmQKDq36z
--HG--
extra : rebase_source : 171106da4e662c3514b80b7d83bc0637afc2caab
2018-04-17 16:45:33 +02:00
Kris Maglione
08c58039d9
Bug 1476405: Part 6 - Register AudioIPC threads with the profiler. r=kinetik
...
Presumably the Rust portion of this will have to land externally first and
then be imported, but I have no idea how or where to submit it.
MozReview-Commit-ID: 2gzQbRKxaZ9
--HG--
extra : rebase_source : 582e41200e69ff3722585c7664ddd122eb0de2fe
extra : intermediate-source : e0a021b27d2c66d46ba973d66d1360678411da26
extra : source : 6d18a8bd5ee351da1a0cdfaa63f49706a2f95ba3
2018-07-18 23:29:16 -07:00
Cosmin Sabou
778ca4f84f
Backed out 8 changesets (bug 1476405) for causing frequent failures in bug 1479022. a=backout
...
Backed out changeset ad1674e9152d (bug 1476405)
Backed out changeset e0a021b27d2c (bug 1476405)
Backed out changeset 771288dbf852 (bug 1476405)
Backed out changeset aeebad4f2dc3 (bug 1476405)
Backed out changeset 4831cbfd03de (bug 1476405)
Backed out changeset 0b0c243a1827 (bug 1476405)
Backed out changeset 236b366fdf37 (bug 1476405)
Backed out changeset c767b1b618fb (bug 1476405)
2018-07-28 01:25:25 +03:00
Kris Maglione
a7ff7da720
Bug 1476405: Part 6 - Register AudioIPC threads with the profiler. r=kinetik
...
Presumably the Rust portion of this will have to land externally first and
then be imported, but I have no idea how or where to submit it.
MozReview-Commit-ID: 2gzQbRKxaZ9
--HG--
extra : source : 6d18a8bd5ee351da1a0cdfaa63f49706a2f95ba3
extra : histedit_source : aa7995595e2699d53f1dc60410b90cfd0d4a5c4e
2018-07-18 23:29:16 -07:00
Coroiu Cristina
6d037d0cba
Backed out 9 changesets (bug 1476405) for causing leaks
...
Backed out changeset 4113d6fb3c1c (bug 1476405)
Backed out changeset cb7f7cc32687 (bug 1476405)
Backed out changeset 6d18a8bd5ee3 (bug 1476405)
Backed out changeset b2a99f50e642 (bug 1476405)
Backed out changeset b5b9d295545d (bug 1476405)
Backed out changeset f092a32a3639 (bug 1476405)
Backed out changeset 6c154f4d9dd9 (bug 1476405)
Backed out changeset d0ebb3aa8e0f (bug 1476405)
Backed out changeset 06b8093ddc6a (bug 1476405)
2018-07-27 08:56:36 +03:00
Kris Maglione
89c5723e0a
Bug 1476405: Part 6 - Register AudioIPC threads with the profiler. r=kinetik
...
Presumably the Rust portion of this will have to land externally first and
then be imported, but I have no idea how or where to submit it.
MozReview-Commit-ID: 2gzQbRKxaZ9
--HG--
extra : rebase_source : 05924114b7ff1c48ce0c4584469b3b2ef0bc26cb
2018-07-18 23:29:16 -07:00
Brian Hackett
8c8d7af19e
Bug 1465294 Part 6 - Don't initialize audio IPC connection in middleman process, r=kinetik.
...
--HG--
extra : rebase_source : 8a51e8a0785c3724272f826b5023257618d391e9
2018-07-23 14:52:01 +00:00
Paul Adenot
2f416390fe
Bug 1152401 - Augment AudioDeviceInfo with a cubeb device id. r=padenot
...
MozReview-Commit-ID: 7QOcM5ITrxv
--HG--
extra : rebase_source : 41071cfbccfc22b0c8a3b2d6a5405d4fbf23c16d
2018-07-18 10:38:34 +02:00
Margareta Eliza Balazs
0cf58ddcab
Backed out 9 changesets (bug 1152401) for android gv-junit failures org.mozilla.geckoview.test.PermissionDelegateTest.media on a CLOSED TREE
...
Backed out changeset 987f2e0b2cb1 (bug 1152401)
Backed out changeset e45630a7c7b1 (bug 1152401)
Backed out changeset 95661c6cd914 (bug 1152401)
Backed out changeset d68ab111809f (bug 1152401)
Backed out changeset 10b039210911 (bug 1152401)
Backed out changeset aebabaa96ad3 (bug 1152401)
Backed out changeset 93457990e40f (bug 1152401)
Backed out changeset 1630f67ac197 (bug 1152401)
Backed out changeset aef64bf5b024 (bug 1152401)
2018-07-19 13:35:58 +03:00
Paul Adenot
5dae77130d
Bug 1152401 - Augment AudioDeviceInfo with a cubeb device id. r=padenot
...
MozReview-Commit-ID: 7QOcM5ITrxv
--HG--
extra : rebase_source : 41071cfbccfc22b0c8a3b2d6a5405d4fbf23c16d
2018-07-18 10:38:34 +02:00
Kris Maglione
1751fb7124
Bug 1473634: Part 2 - Update some callers to use RegisterCallbacks where appropriate. r=njn
...
MozReview-Commit-ID: IqUmuOeSbNm
--HG--
extra : rebase_source : 0c742f6ca29456928f2027dcb70ee6dbb130d1f9
2018-07-04 19:06:57 -07:00
Matthew Gregan
29d47f27a7
Bug 1465299 - Update AudioIPC pref defaults in CubebUtils.cpp to match actual defaults in all.js. r=padenot
...
MozReview-Commit-ID: 16fC71RT0AB
--HG--
extra : rebase_source : f85f04494d32afa24baeb7de89247b5360aea7bc
2018-05-30 14:02:13 +12:00
Jim Chen
c68f5f3de7
Bug 1458020 - 5. Return default sample rate / frames per buffer; r=esawin
...
We apparently fail to get these properties when running in an emulator,
so we should just return default values.
MozReview-Commit-ID: IZVYIG9INaq
2018-05-18 10:16:04 -04:00
Matthew Gregan
81d70e03c7
Bug 1427011 - Disable default device switching in libcubeb's WASAPI backend. r=padenot
2018-04-30 19:59:32 +12:00
Bryce Van Dyk
daa4ebecbb
Bug 1443525 - Add hidden pref to force CubebUtils to return null context. r=padenot
...
Add a hidden pref, media.cubeb.force_null_context, that will force CubebUtils
to return a nullptr when asked for the cubeb context. This is to enable testing
of components, simulating the case cubeb were to fail.
MozReview-Commit-ID: Kd9Ksu0GfQJ
--HG--
extra : rebase_source : 0ac7837105dc1005dbd3b02f8768fb3ebf55c11e
2018-03-20 11:41:28 -04:00
Dan Glastonbury
6835957d77
Bug 1446233 - P2: Add prefs to control audioipc client thread pool. r=kinetik
...
MozReview-Commit-ID: EZXfIxBRyG4
--HG--
extra : rebase_source : a0d903e0b64bb72e0dc70a3d9fccee0e9636ef56
2018-03-22 15:33:25 +10:00
Jean-Yves Avenard
4e7b0b2695
Bug 1432779 - P5. Remove no longer used variables. r=padenot
...
MozReview-Commit-ID: LqOuM1F0NC2
2018-03-24 10:57:59 +01:00
Jean-Yves Avenard
87fa7068d5
Bug 1432779 - P4. Remove the concept of preferred layout. r=padenot,r=kamidphish
...
Channel layout is derived by the content being played. The concept of preferred layout is meaningless. Either we have a layout defined, or we don't. There's no in-between.
So we remove it.
MozReview-Commit-ID: CSCAInNmzMS
2018-03-24 10:57:59 +01:00
Jean-Yves Avenard
e766599866
Bug 1431221 - P13. Remove dual mono layout. r=padenot
...
It makes no sense to have a case for those as the data structure used (a bitmask) do not allow to represent this channel layout (a channel can only be present once). As such it was a non-functional layout
MozReview-Commit-ID: FjA0fojFcJp
2018-03-24 10:57:56 +01:00
Jean-Yves Avenard
48cf8d7243
Bug 1431221 - P5. Split AudioConfig.{h,cpp} from MediaInfo. r=padenot
...
MozReview-Commit-ID: EzaC19HS2B8
2018-03-24 10:57:54 +01:00
Jean-Yves Avenard
e9e8bc2708
Bug 1431221 - P4. Use similar channel decriptions as Windows WAVE and FFmpeg. r=padenot
...
This makes it for future easier conversion for the FFmpeg and Windows WMF decoder, so that we can use their channel map directly.
Also introduce a difference between 2F2 and QUAD, cubeb supports will be added in a future change.
MozReview-Commit-ID: L5NkjeuGslI
2018-03-24 10:57:54 +01:00
Cosmin Sabou
d5f5fb893c
Backed out 3 changesets (bug 1446233) for permafailing on dom/media/tests/mochitest/test_peerConnection_replaceTrack.html. a=backout
...
Backed out changeset 9b72102a99b3 (bug 1446233)
Backed out changeset 6f3488ff7c60 (bug 1446233)
Backed out changeset 20301e359a4e (bug 1446233)
2018-03-23 15:18:23 +02:00
Dan Glastonbury
ac492b197c
Bug 1446233 - P3: Add prefs to control audioipc client thread pool. r=kinetik
...
MozReview-Commit-ID: 7TVfYE9DEwp
--HG--
extra : rebase_source : e725ea784360e8d2061dbf4193c7074fde3cfdd1
2018-03-22 15:33:25 +10:00
shindli
5d297279b1
Backed out 3 changesets (bug 1446233) for Wr failures in /html/semantics/embedded-content/media-elements/track/track-element/track-webvtt-two-cue-layout-after-first-end.html on a CLOSED TREE
...
Backed out changeset ed217fb39a92 (bug 1446233)
Backed out changeset f5bec009a111 (bug 1446233)
Backed out changeset a71dd6219f8a (bug 1446233)
2018-03-23 04:11:01 +02:00
Dan Glastonbury
ac696a0587
Bug 1446233 - P3: Add prefs to control audioipc client thread pool. r=kinetik
...
MozReview-Commit-ID: I4BL7Ad2xtI
--HG--
extra : rebase_source : 984378bf2fbca347762b3096f75069b7721c97be
2018-03-22 15:33:25 +10:00
Paul Adenot
43aa0c346f
Bug 1437366 - Add a way to force the sample-rate used for a MediaStreamGraph. r=pehrsons
...
MozReview-Commit-ID: 4ICQiNKbUpJ
--HG--
extra : rebase_source : 686278509673cdd3b2705a5b20217ede075a8996
2018-03-02 19:27:57 +01:00