Граф коммитов

650 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot ab551c6519 Bug 1674825 - Update libcubeb to 4e851e. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D95549
2020-11-03 15:45:30 +00:00
Paul Adenot 2ab836d606 Bug 1674825 - Prepare build system and vendoring script for the new AAudio backend. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D95548
2020-11-03 16:01:59 +00:00
Paul Adenot f667ac98ae Bug 1670917 - Upstream build system and other bits from freebsd-ports. r=cubeb-reviewers,chunmin
This is the first two chunks in ed3dd55916/www/firefox/files/patch-cubeb-oss, from From: jbeich <jbeich@FreeBSD.org>. The rest of this patch file is now upstream.

This allows OSS users to drop a patch downstream.

Differential Revision: https://phabricator.services.mozilla.com/D93362
2020-10-20 20:03:29 +00:00
Paul Adenot 21e6a2be56 Bug 1670917 - Update libcubeb to a7e83aa. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D93361
2020-10-20 20:03:33 +00:00
Paul Adenot 10babee128 Bug 1670917 - Add the new OSS backend for cubeb to update.sh. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D93360
2020-10-20 20:03:31 +00:00
Razvan Maries 6ad7ee6c29 Backed out 7 changesets (bug 1670917) for multiple GTest perma failures. CLOSED TREE
Backed out changeset 635942af8244 (bug 1670917)
Backed out changeset b0825300e78d (bug 1670917)
Backed out changeset 881fac72e13c (bug 1670917)
Backed out changeset 0285b2ab6d50 (bug 1670917)
Backed out changeset b58d65b96f2d (bug 1670917)
Backed out changeset 6ad13b34f08d (bug 1670917)
Backed out changeset 426aa6482835 (bug 1670917)
2020-10-20 22:55:47 +03:00
Paul Adenot 96b78da32a Bug 1670917 - Upstream build system and other bits from freebsd-ports. r=cubeb-reviewers,chunmin
This is the first two chunks in ed3dd55916/www/firefox/files/patch-cubeb-oss, from From: jbeich <jbeich@FreeBSD.org>. The rest of this patch file is now upstream.

This allows OSS users to drop a patch downstream.

Differential Revision: https://phabricator.services.mozilla.com/D93362
2020-10-20 13:08:22 +00:00
Paul Adenot cf7a8a8f15 Bug 1670917 - Update libcubeb to a7e83aa. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D93361
2020-10-20 13:48:14 +00:00
Paul Adenot 4c0e069936 Bug 1670917 - Add the new OSS backend for cubeb to update.sh. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D93360
2020-10-20 13:08:17 +00:00
Paul Adenot df68b2b83f Bug 1663917 - Update libcubeb to 1358724f73. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89590
2020-09-22 13:43:59 +00:00
Paul Adenot cf8af961d5 Bug 1663917 - Remove patch to disable an assertion in cubeb, it's now upstream. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89589
2020-09-22 13:42:46 +00:00
Sebastian Hengst cf7b0b4636 Backed out 3 changesets (bug 1663917) for crashes (bug 1665983).
Crashes with
* [@ arena_dalloc | `anonymous namespace'::setup_wasapi_stream]
* [@ `anonymous namespace'::wasapi_create_device ]

Backed out changeset f08ef676251a (bug 1663917)
Backed out changeset 5bf586f8f81a (bug 1663917)
Backed out changeset 91ff0dad958b (bug 1663917)
2020-09-18 20:07:30 +02:00
Paul Adenot 798601203b Bug 1663917 - Update libcubeb b66d915. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89590
2020-09-17 12:14:19 +00:00
Paul Adenot b020f9129d Bug 1663917 - Remove patch to disable an assertion in cubeb, it's now upstream. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89589
2020-09-17 12:14:15 +00:00
Bogdan Tara 5efefd3ef2 Backed out 3 changesets (bug 1663917) on jcristau's request, for crashes a=backout
DONTBUILD

Backed out changeset 706c1dc89ab3 (bug 1663917)
Backed out changeset 837d83a0bddd (bug 1663917)
Backed out changeset 18143730ca80 (bug 1663917)
2020-09-17 12:58:50 +03:00
Paul Adenot 1a0015a1be Bug 1663917 - Update libcubeb a45f6d0. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89590
2020-09-15 15:05:05 +00:00
Paul Adenot 25a676aa1b Bug 1663917 - Remove patch to disable an assertion in cubeb, it's now upstream. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89589
2020-09-15 15:05:00 +00:00
Cristina Coroiu f7fbc59a7a Backed out 3 changesets (bug 1663917) for causing crashes
Backed out changeset 5ff7eb9b8a22 (bug 1663917)
Backed out changeset 8d5dfe86bd98 (bug 1663917)
Backed out changeset 02d7087c466d (bug 1663917)
2020-09-12 18:03:32 +03:00
Paul Adenot 4452f56e09 Bug 1663917 - Update libcubeb f39ce8a. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89590
2020-09-11 13:15:57 +00:00
Paul Adenot 422172783c Bug 1663917 - Remove patch to disable an assertion in cubeb, it's now upstream. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89589
2020-09-11 13:15:37 +00:00
Narcis Beleuzu 807eb4e6a9 Backed out 3 changesets (bug 1663917) for hazard bustages on cubeb_log.h CLOSED TREE
Backed out changeset efddab14db95 (bug 1663917)
Backed out changeset 5d049e004a9c (bug 1663917)
Backed out changeset f6b10dbb0863 (bug 1663917)
2020-09-11 02:11:45 +03:00
Paul Adenot c0df915a58 Bug 1663917 - Update libcubeb 1d6509f. r=cubeb-reviewers,kinetik
Depends on D89589

Differential Revision: https://phabricator.services.mozilla.com/D89590
2020-09-09 21:23:13 +00:00
Paul Adenot e08c9a6e7c Bug 1663917 - Remove patch to disable an assertion in cubeb, it's now upstream. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89589
2020-09-09 21:23:21 +00:00
Chun-Min Chang 168b47f125 Bug 1598148 - P2: Update cubeb to a971bf1. r=kinetik
Pick commits:
a971bf1 - Bump the priority of audiounit-rust in default init
ea39471 - Merge branch 'Filoppi-patch-1'
2cc3a02 - Fix conversion from com_heap_ptr.
0bd0338 - Merge branch 'patch-1' of https://github.com/Filoppi/cubeb into Filoppi-patch-1
b69886c - As suggested
20cb7e0 - Fixed small memory leak
Applying a patch on top of a971bf1a045b0e5dcaffd2a15c3255677f43cd2d

Differential Revision: https://phabricator.services.mozilla.com/D54055
2020-07-09 09:10:46 +00:00
Alex Chronopoulos b1f143193d Bug 1647956 - Import cubeb from upstream to 575bd44. r=padenot
pick commits:
575bd44 - resampler: avoid overflow on uint arithmetics
7bc4f13 - Add in header doc the switching devices behavior.

Differential Revision: https://phabricator.services.mozilla.com/D81695
2020-06-30 12:14:48 +00:00
Paul Adenot bcf7c27938 Bug 1644664 - Update cubeb to e2ffb10. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D79044
2020-06-10 09:52:25 +00:00
Paul Adenot 0ae2549e51 Bug 1641579 - Update cubeb to 4cd6a92. r=cubeb-reviewers,achronop
4cd6a92 - CI: add FreeBSD jobs
eecb589 - QueryPerformanceCounter returns non-zero in case of success
524a9c9 - sun: Fix arithmetic on void pointer.

Differential Revision: https://phabricator.services.mozilla.com/D77264
2020-05-28 14:25:20 +00:00
Paul Adenot 3ceba56d25 Bug 1631724 - Temporarily disable an assert inside the cubeb's resampler. r=achronop
Reenabling is tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1641234

Differential Revision: https://phabricator.services.mozilla.com/D77064
2020-05-28 09:55:21 +00:00
Aaron Klotz de0ca92545 Bug 1637452: Part 12 - Fix JNI includes in media/libcubeb; r=cubeb-reviewers,kinetik
In this bug we're moving away from monolithic JNI headers to class-specific
headers so that we don't have to rebuild the world every time we make a change
to a JNI interface.

Differential Revision: https://phabricator.services.mozilla.com/D75375
2020-05-15 17:05:20 +00:00
Paul Adenot 0c81475300 Bug 1626081 - Update cubeb to 80c3d838d2929c27. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D74276
2020-05-12 08:32:00 +00:00
Cosmin Sabou 72e80153f2 Backed out 3 changesets (bug 1626081) for causing build bustages. CLOSED TREE
Backed out changeset 82cae35b52eb (bug 1626081)
Backed out changeset 42135f164217 (bug 1626081)
Backed out changeset 2676f31077bc (bug 1626081)
2020-05-11 21:38:54 +03:00
Paul Adenot 4c16b73b14 Bug 1626081 - Update cubeb to 80c3d838d2929c27. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D74276
2020-05-11 18:23:14 +00:00
Paul Adenot 03da4e3e6c Bug 1635404 - Update cubeb to revision 35190a8. r=achronop
Depends on D73869

Differential Revision: https://phabricator.services.mozilla.com/D73870
2020-05-05 15:08:45 +00:00
Chun-Min Chang 4e7ae3e350 Bug 1628132 - P2: Update cubeb to 9caa5b1. r=kinetik
Pick commits:
9caa5b1 - Only print the filename when logging (#581)
8a4170a - sun: Line continuation character not needed
9696902 - sun: POLL_TIMEOUT is no longer used
159fb99 - sun: Add my email address to the copyright header.
e3b409f - sun: Refactoring: reduce duplication in stream structure.
36aa8b1 - sun: Make the purpose of some variables clearer.
1654468 - sun: Update header inclusion.
38ef439 - sun: Convert floats to LINEAR32 instead of LINEAR16
4dbacae - Remove test for registering device changed callback twice
7f94e27 - Force Rust builds to always rerun cargo.
3e23b25 - Remove TODO, we've done all of those, or they don't apply anymore

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

--HG--
extra : moz-landing-system : lando
2020-04-14 00:23:16 +00:00
Matthew Gregan 210f8ccbc5 Bug 1621428 - Update cubeb to 6e7e7659. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D66303

--HG--
extra : moz-landing-system : lando
2020-03-11 15:49:23 +00:00
Matthew Gregan 239b521c98 Bug 1612139 - Unship libcubeb's obsolete AudioTrack backend. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D61399

--HG--
extra : moz-landing-system : lando
2020-02-03 10:04:53 +00:00
Matthew Gregan a362a200e2 Bug 1611658 - Unship libcubeb's C PulseAudio backend in favour of Rust. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D61080

--HG--
extra : moz-landing-system : lando
2020-01-26 11:09:27 +00:00
Alex Chronopoulos 513727e5d9 Bug 1610527 - Update cubeb from upstream to d4b23d1. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D60518

--HG--
extra : moz-landing-system : lando
2020-01-22 13:59:51 +00:00
Alex Chronopoulos c75f44d0cb Bug 1610527 - Remove unnecessary patches from import script. r=padenot
`disable-assert.patch` is nor needed because the change has been merged upstream.
`revert-optimization.patch` is not needed because we want to undo the revert since this import attemptts to fix the crash.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 13:59:44 +00:00
Noemi Erli 6d247d8611 Backed out 2 changesets (bug 1610527) for causinf Linux debug and opt bustages in test_resampler.cpp a=backout
Backed out changeset 850bc97c56ab (bug 1610527)
Backed out changeset 71299532eee6 (bug 1610527)
2020-01-22 00:31:11 +02:00
Alex Chronopoulos cf314b852f Bug 1610527 - Update cubeb from upstream to 6cdf2fd. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D60518

--HG--
extra : moz-landing-system : lando
2020-01-21 15:32:54 +00:00
Alex Chronopoulos d46188be61 Bug 1610527 - Remove unnecessary patches from import script. r=padenot
`disable-assert.patch` is nor needed because the change has been merged upstream.
`revert-optimization.patch` is not needed because we want to undo the revert since this import attemptts to fix the crash.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 15:33:02 +00:00
Alex Chronopoulos 236f6c237f Bug 1604117 - Backout cubeb commit aa63601. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D59674

--HG--
extra : moz-landing-system : lando
2020-01-13 13:09:39 +00:00
Alex Chronopoulos c7942e4cd7 Bug 1603384 - Update cubeb from upstream to aa63601. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D56872

--HG--
extra : moz-landing-system : lando
2019-12-12 15:24:23 +00:00
Mike Hommey 7f4fff1db4 Bug 1601859 - Vendor cubeb-pulse-rs. r=kinetik
This technically breaks mach vendor rust because of the missing
licenses, but this will be fixed subsequently.

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

--HG--
rename : media/libcubeb/cubeb-pulse-rs/AUTHORS => third_party/rust/cubeb-pulse/AUTHORS
rename : media/libcubeb/cubeb-pulse-rs/Cargo.toml => third_party/rust/cubeb-pulse/Cargo.toml
rename : media/libcubeb/cubeb-pulse-rs/LICENSE => third_party/rust/cubeb-pulse/LICENSE
rename : media/libcubeb/cubeb-pulse-rs/README.md => third_party/rust/cubeb-pulse/README.md
rename : media/libcubeb/cubeb-pulse-rs/src/backend/context.rs => third_party/rust/cubeb-pulse/src/backend/context.rs
rename : media/libcubeb/cubeb-pulse-rs/src/backend/cork_state.rs => third_party/rust/cubeb-pulse/src/backend/cork_state.rs
rename : media/libcubeb/cubeb-pulse-rs/src/backend/intern.rs => third_party/rust/cubeb-pulse/src/backend/intern.rs
rename : media/libcubeb/cubeb-pulse-rs/src/backend/mod.rs => third_party/rust/cubeb-pulse/src/backend/mod.rs
rename : media/libcubeb/cubeb-pulse-rs/src/backend/stream.rs => third_party/rust/cubeb-pulse/src/backend/stream.rs
rename : media/libcubeb/cubeb-pulse-rs/src/capi.rs => third_party/rust/cubeb-pulse/src/capi.rs
rename : media/libcubeb/cubeb-pulse-rs/src/lib.rs => third_party/rust/cubeb-pulse/src/lib.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-ffi/Cargo.toml => third_party/rust/pulse-ffi/Cargo.toml
rename : media/libcubeb/cubeb-pulse-rs/pulse-ffi/src/ffi_funcs.rs => third_party/rust/pulse-ffi/src/ffi_funcs.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-ffi/src/ffi_types.rs => third_party/rust/pulse-ffi/src/ffi_types.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-ffi/src/lib.rs => third_party/rust/pulse-ffi/src/lib.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/Cargo.toml => third_party/rust/pulse/Cargo.toml
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/context.rs => third_party/rust/pulse/src/context.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/error.rs => third_party/rust/pulse/src/error.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/lib.rs => third_party/rust/pulse/src/lib.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/mainloop_api.rs => third_party/rust/pulse/src/mainloop_api.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/operation.rs => third_party/rust/pulse/src/operation.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/proplist.rs => third_party/rust/pulse/src/proplist.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/stream.rs => third_party/rust/pulse/src/stream.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/threaded_mainloop.rs => third_party/rust/pulse/src/threaded_mainloop.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/util.rs => third_party/rust/pulse/src/util.rs
extra : moz-landing-system : lando
2019-12-11 20:57:35 +00:00
Mike Hommey 1c4ef0191c Bug 1601859 - Vendor cubeb-coreaudio. r=padenot
This technically breaks mach vendor rust because of the missing
licenses, but this will be fixed subsequently.

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

--HG--
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/Cargo.toml => third_party/rust/coreaudio-sys-utils/Cargo.toml
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/src/aggregate_device.rs => third_party/rust/coreaudio-sys-utils/src/aggregate_device.rs
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/src/audio_object.rs => third_party/rust/coreaudio-sys-utils/src/audio_object.rs
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/src/audio_unit.rs => third_party/rust/coreaudio-sys-utils/src/audio_unit.rs
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/src/cf_mutable_dict.rs => third_party/rust/coreaudio-sys-utils/src/cf_mutable_dict.rs
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/src/dispatch.rs => third_party/rust/coreaudio-sys-utils/src/dispatch.rs
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/src/lib.rs => third_party/rust/coreaudio-sys-utils/src/lib.rs
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/src/string.rs => third_party/rust/coreaudio-sys-utils/src/string.rs
rename : media/libcubeb/cubeb-coreaudio-rs/Cargo.toml => third_party/rust/cubeb-coreaudio/Cargo.toml
rename : media/libcubeb/cubeb-coreaudio-rs/LICENSE => third_party/rust/cubeb-coreaudio/LICENSE
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/aggregate_device.rs => third_party/rust/cubeb-coreaudio/src/backend/aggregate_device.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/auto_array.rs => third_party/rust/cubeb-coreaudio/src/backend/auto_array.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/auto_release.rs => third_party/rust/cubeb-coreaudio/src/backend/auto_release.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/device_property.rs => third_party/rust/cubeb-coreaudio/src/backend/device_property.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/mixer.rs => third_party/rust/cubeb-coreaudio/src/backend/mixer.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/mod.rs => third_party/rust/cubeb-coreaudio/src/backend/mod.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/resampler.rs => third_party/rust/cubeb-coreaudio/src/backend/resampler.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/utils.rs => third_party/rust/cubeb-coreaudio/src/backend/utils.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/capi.rs => third_party/rust/cubeb-coreaudio/src/capi.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/lib.rs => third_party/rust/cubeb-coreaudio/src/lib.rs
extra : moz-landing-system : lando
2019-12-10 15:43:17 +00:00
Landry Breuil 6cd8db12f6 Bug 1596546: disable sndio lazy loading on OpenBSD, and directly link with it r=kinetik
unveil() work in bug #1580271 broke sound playback

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

--HG--
extra : moz-landing-system : lando
2019-11-15 06:33:19 +00:00
Chun-Min Chang b98337f5cd Bug 1589931 - P2: Update cubeb-audiounit-rs to 0920240. r=padenot
Pick commits:
0920240 - Always return null-terminated strings from current_device (#25)

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

--HG--
extra : moz-landing-system : lando
2019-11-14 21:00:16 +00:00
Chun-Min Chang bb5b523cb0 Bug 1590151 - Update cubeb-coreaudio-rs to cd954ca. r=padenot
Pick commits:
cd954ca - Update dependencies (#22)
7043a0c - Make audiounit_get_devices_of_type infallible (#21)

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

--HG--
extra : moz-landing-system : lando
2019-11-07 16:41:44 +00:00
Chun-Min Chang 7f26e8dfa4 Bug 1591249 - Bump coreaudio-sys to 0.2.3. r=glandium
The current coreaudio-sys in gecko is a custom 0.2.2 version that used
to avoid the cross-compiling issue mentioned in bug 1569003. The issue
has been fixed in the coreaudio-sys 0.2.3, so we should follow the
upstream instead of using a custom version. As a result, the
coreaudio-sys would generate API bindings based on the MacOS SDK defined
in the build settings.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 20:14:00 +00:00