Commit Graph

85 Commits

Author SHA1 Message Date
Sylvestre Ledru
7f26dcf1b6 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
Done with:
./mach lint -l rustfmt --fix
with
rustfmt 1.4.12-stable (a828ffe 2020-03-11)

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D72527
2020-04-25 21:21:32 +00:00
Anthony Ramine
42bdec38a0 Bug 1627636 - Vendor mio-named-pipes from crates.io; r=kinetik
There is no need to use the Git repository, its only change compared to 0.1.6
is that some random tidbit has been fixed in the README file.

Depends on D69805

Differential Revision: https://phabricator.services.mozilla.com/D69806

--HG--
extra : moz-landing-system : lando
2020-04-07 02:41:07 +00:00
Anthony Ramine
1eb60b1342 Bug 1627636 - Clean up version constraints in audioipc manifest; r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D69805

--HG--
extra : moz-landing-system : lando
2020-04-07 02:40:59 +00:00
Matthew Gregan
451e1de678 Bug 1623799 - Update audioipc to 7f7c997e. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D67577

--HG--
extra : moz-landing-system : lando
2020-03-19 23:29:49 +00:00
Kartikaya Gupta
f2d9f42c06 Bug 1622256 - Use Display trait instead of Error::description. r=kinetik
Depends on D66768

Differential Revision: https://phabricator.services.mozilla.com/D66769

--HG--
extra : moz-landing-system : lando
2020-03-16 02:15:56 +00:00
Ed Lee
68e140412a Bug 1622343 - Automatic code fixes for rustfmt warnings for now-unskipped files r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D66811

--HG--
extra : moz-landing-system : lando
2020-03-13 23:23:58 +00:00
Matthew Gregan
a61c982ec9 Bug 1619780 - Update audioipc to 9e4f94a5. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D65214

--HG--
extra : moz-landing-system : lando
2020-03-10 17:02:27 +00:00
Matthew Gregan
24e4bee487 Bug 1612512 - Update to audio_thread_priority 0.22. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D62664

--HG--
extra : moz-landing-system : lando
2020-02-13 10:28:09 +00:00
Matthew Gregan
07f5f0bc92 Bug 1614547 - Ensure AudioIPC client threads call PROFILER_UNREGISTER_THREAD. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D62402

--HG--
extra : moz-landing-system : lando
2020-02-12 22:20:11 +00:00
Matthew Gregan
63b801f787 Bug 1614533 - Generate AudioIPC FFI bindings with cbindgen. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D62388

--HG--
extra : moz-landing-system : lando
2020-02-12 22:15:39 +00:00
Matthew Gregan
6352479a73 Bug 1612044 - Error rather than panic when passed an invalid stream token. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D61319

--HG--
extra : moz-landing-system : lando
2020-01-30 20:40:29 +00:00
Matthew Gregan
be98de7d99 Bug 1590249 - Update audioipc to 86d49ddf. r=chunmin
Minus audio_thread_priority 0.21, due to Android build breakage.

Differential Revision: https://phabricator.services.mozilla.com/D60615

--HG--
extra : moz-landing-system : lando
2020-01-25 22:50:52 +00:00
Matthew Gregan
c7f495b3a7 Bug 1590249 - Fix media/audioipc/update.sh when run on Windows. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D60614

--HG--
extra : moz-landing-system : lando
2020-01-25 22:49:44 +00:00
Dorel Luca
3025fdd0aa Backed out 5 changesets (bug 1590249) for Build bustage in AudioThreadPriorityError. CLOSED TREE
Backed out changeset 301b1a49db9b (bug 1590249)
Backed out changeset c675b890508d (bug 1590249)
Backed out changeset ed1cd65eedae (bug 1590249)
Backed out changeset 0a7873a6b522 (bug 1590249)
Backed out changeset 36f6505b50c9 (bug 1590249)
2020-01-26 00:18:35 +02:00
Matthew Gregan
02e4693897 Bug 1590249 - Update audioipc to 86d49ddf. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D60615

--HG--
extra : moz-landing-system : lando
2020-01-25 21:31:32 +00:00
Matthew Gregan
def1199352 Bug 1590249 - Fix media/audioipc/update.sh when run on Windows. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D60614

--HG--
extra : moz-landing-system : lando
2020-01-25 21:30:14 +00:00
Arthur Iakab
acebcd6ca5 Backed out 2 changesets (bug 1590249) for causing a spike in webgl crashes. CLOSED TREE
Backed out changeset fee677cef072 (bug 1590249)
Backed out changeset a132b59ed504 (bug 1590249)
2019-10-29 03:04:11 +02:00
Matthew Gregan
25d20e8373 Bug 1590249 - Fix media/audioipc/update.sh when run on Windows. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D50005

--HG--
extra : moz-landing-system : lando
2019-10-22 13:58:33 +00:00
Matthew Gregan
9638ad722c Bug 1590246 - Update audioipc to 8af8083a. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D50000

--HG--
extra : moz-landing-system : lando
2019-10-22 01:31:31 +00:00
Mihai Alexandru Michis
922400506b Backed out 2 changesets (bug 1590246) for causing windows bustages on audioipc-client. CLOSED TREE
Backed out changeset 586eef699017 (bug 1590246)
Backed out changeset 37e879bff967 (bug 1590246)
2019-10-22 03:59:01 +03:00
Matthew Gregan
dc5bf91654 Bug 1590246 - Update audioipc to 8f2a9e0a. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D50000

--HG--
extra : moz-landing-system : lando
2019-10-22 00:01:07 +00:00
Paul Adenot
27ec83b3f0 Bug 1575883 - Update audioipc to b82970f. r=kinetik
This includes https://github.com/djg/audioipc-2/pull/75, is and from by fork, to
test. To be replaced with upstream when landing.

Differential Revision: https://phabricator.services.mozilla.com/D47279

--HG--
extra : moz-landing-system : lando
2019-10-11 16:00:41 +00:00
Paul Adenot
e489af208a Bug 1575883 - Backed out changeset 86f456156bd0. r=kinetik
Going over the RT budget is now handled by demoting the thread instead of
crashing.

Differential Revision: https://phabricator.services.mozilla.com/D47083

--HG--
extra : moz-landing-system : lando
2019-10-11 15:50:18 +00:00
Paul Adenot
91571117b5 Bug 1582222 - Disable rt threads for Linux for now. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D46570

--HG--
extra : moz-landing-system : lando
2019-09-24 11:23:25 +00:00
Paul Adenot
c23f8dcae9 Bug 1576168 - Update audio_thread_priority to 0.19.1. r=pehrsons
This changes the hard-limit of `RLIMIT_RTTIME` to be the maximum available
(200ms on my system), and keep the soft limit to the same number.

Having different numbers allow catching SIGXCPU before getting SIGKILL.

Differential Revision: https://phabricator.services.mozilla.com/D43402

--HG--
extra : moz-landing-system : lando
2019-08-27 08:00:36 +00:00
Coroiu Cristina
38d7f20baa Backed out 2 changesets (bug 1576168) for build bustages on a CLOSED TREE
Backed out changeset 3ea6795200b1 (bug 1576168)
Backed out changeset 4e8fc76cd529 (bug 1576168)
2019-08-26 19:46:38 +03:00
Paul Adenot
1029a3ce04 Bug 1576168 - Update audio_thread_priority to 0.19.0. r=pehrsons
This changes the hard-limit of `RLIMIT_RTTIME` to be the maximum available
(200ms on my system), and keep the soft limit to the same number.

Having different numbers allow catching SIGXCPU before getting SIGKILL.

Differential Revision: https://phabricator.services.mozilla.com/D43402

--HG--
extra : moz-landing-system : lando
2019-08-26 14:20:22 +00:00
Paul Adenot
5366291789 Bug 1574914 - Bump audio_thread_priority to 0.18. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D42504

--HG--
extra : moz-landing-system : lando
2019-08-19 13:50:08 +00:00
Paul Adenot
6e399961ed Bug 1570948 - Bump audio_thread_priority to 0.17. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D40410

--HG--
extra : moz-landing-system : lando
2019-08-02 12:44:33 +00:00
Matthew Gregan
536af4fbf3 Bug 1569460 - Update AudioIPC to f6f56c43. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D39802

--HG--
extra : moz-landing-system : lando
2019-07-29 23:17:56 +00:00
Matthew Gregan
e0fdf04539 Bug 1569090 - Update audioipc to 177ebd96. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D39453

--HG--
rename : media/audioipc/audioipc/src/async.rs => media/audioipc/audioipc/src/async_msg.rs
extra : moz-landing-system : lando
2019-07-27 13:14:23 +00:00
Daniel Varga
eadf32a8eb Backed out 2 changesets (bug 1569090) for causing debug SM build fail with error: failed to load source for a dependency on mio-named-pipes. On a CLOSED TREE
Backed out changeset 6aa27e77e38f (bug 1569090)
Backed out changeset 5251efcd4ac1 (bug 1569090)

--HG--
rename : media/audioipc/audioipc/src/async_msg.rs => media/audioipc/audioipc/src/async.rs
rename : third_party/rust/tokio-named-pipes/LICENSE-APACHE => third_party/rust/fs2/LICENSE-APACHE
rename : third_party/rust/memmap-0.6.2/LICENSE-APACHE => third_party/rust/memmap-0.5.2/LICENSE-APACHE
rename : third_party/rust/tokio-named-pipes/LICENSE-MIT => third_party/rust/memmap-0.5.2/LICENSE-MIT
rename : third_party/rust/memmap-0.6.2/ci/install.sh => third_party/rust/memmap-0.5.2/ci/install.sh
2019-07-27 12:58:34 +03:00
Matthew Gregan
ae4794f5de Bug 1569090 - Update audioipc to 177ebd96. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D39453

--HG--
rename : media/audioipc/audioipc/src/async.rs => media/audioipc/audioipc/src/async_msg.rs
extra : moz-landing-system : lando
2019-07-26 16:51:29 +00:00
Matthew Gregan
cbbdf7fcb4 Bug 1539225 - Update AudioIPC to pick up backend selection & context name support. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D38957

--HG--
extra : moz-landing-system : lando
2019-07-23 19:34:52 +00:00
Paul Adenot
dd1c0a3c44 Bug 1561681 - Change log level for audio thread promotion related-messages. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D36077

--HG--
extra : moz-landing-system : lando
2019-06-26 20:23:49 +00:00
Paul Adenot
0a287dc06a Bug 1560720 - Provide a blanket/noop implementation of audio_thread_priority for platform without a backend. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D35690

--HG--
extra : moz-landing-system : lando
2019-06-24 20:43:25 +00:00
Paul Adenot
88c421c259 Bug 1429847 - Allow promoting CpuPool threads for audio remoting separately from the client creation. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D34887

--HG--
extra : moz-landing-system : lando
2019-06-21 19:49:08 +00:00
Nathan Froyd
0c7539d4de Bug 1554541 - update to audioipc upstream fd5619850628; r=kinetik
This change pulls in some changes necessary to work with newer versions
of Rust.

Differential Revision: https://phabricator.services.mozilla.com/D32650

--HG--
extra : moz-landing-system : lando
2019-05-27 00:52:08 +00:00
Matthew Gregan
ac231ff9f9 Bug 1536605 - Update audioipc to 9bb53d5ba11b. r=chunmin
Also includes fix for bug 1536613.

Differential Revision: https://phabricator.services.mozilla.com/D24441

--HG--
extra : moz-landing-system : lando
2019-03-21 22:08:16 +00:00
Matthew Gregan
3716371465 Bug 1533539 - Revert ClientContext::init's error handling behaviour. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D24267

--HG--
extra : moz-landing-system : lando
2019-03-21 22:09:09 +00:00
Matthew Gregan
1ecd53f466 Bug 1512445 - Import latest AudioIPC from upstream, including Windows backend. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D22153

--HG--
extra : moz-landing-system : lando
2019-03-07 02:04:36 +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
cf18c72684 Bug 1512445 - Import latest AudioIPC from upstream, including Windows backend. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D22153

--HG--
extra : moz-landing-system : lando
2019-03-06 20:42:38 +00:00
Matthew Gregan
38a8cb51e1 Bug 1524818 - Update audioipc to c2148b95 to fix build with nightly rustc. r=chunmin
--HG--
extra : rebase_source : 4efcdf6f5ebb548f734c3948d715e2f8f5a2ceef
2019-02-05 15:32:02 +13:00
Matthew Gregan
5ed3387542 Bug 1512450 - Clean up reslicing of audio buffers in AudioIPC's server data callback. r=chunmin
--HG--
extra : amend_source : c7e3943507cde2d321aa1f6b03054cd028336f88
2018-12-18 18:07:54 +02:00
Matthew Gregan
af490a6f95 Bug 1501148 - Refactor AudioIPC to make way for multiple OS backends. r=chunmin
--HG--
extra : rebase_source : c189d532815de05bc24ee93913d470d8f6a422ef
2018-10-23 16:46:52 +13:00
Matthew Gregan
bd2ce060a1 Bug 1501148 - Introduce portable PlatformHandleType to AudioIPC and use it. r=chunmin
--HG--
extra : rebase_source : 829a86c9a21f9d615f550a3318fe9e16f6a1a96d
2018-10-23 16:36:41 +13:00
Alex Chronopoulos
4241de0429 Bug 1500468 - Return not supported error as a stop-gap solution for Linux enumerate devices. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D9264

--HG--
extra : moz-landing-system : lando
2018-10-19 22:01:00 +00:00
Andreas Tolfsen
2c2a931c23 bug 1490674: audioipc: relax log crate dependency version; r=kamidphish
By relaxing the version dependency on the log crate we are able to
get rid of duplicate vendored crates.

This particular version number, combined with rsdparsa depending
on "*" (anything) meant that a change to this version number in
audioipc would have reprecussions on the dependencies of rsdparsa.
I will address the wildcard version in a separate patch on rsdparsa.
2018-09-14 12:28:00 +01:00
Matthew Gregan
8f2c9bd605 Bug 1470041 - Update audioipc to 3d716fe8. r=kamidphish
--HG--
extra : rebase_source : cd12646e3d97093a3830ba7f8ba32c2a146cf8f4
2018-08-26 20:33:19 +12:00