gecko-dev/media/libcubeb
Chun-Min Chang 2c4a12e3b6 Bug 1530715 - P40: Move stream setup and close into a struct within a mutex. r=padenot
The core stream data that will be touched on the different threads when
the stream is created, reinitialized, destoryed should be used in the
critical section. Those core data are initialized in stream-setup and
destroyed in stream-close. The stream-setup and stream-close is run in
the critical section so they won't be executed at the same time.
Currently, the critical section is created by our custom mutex. However,
this custom mutex will be removed in the later mutex replacement.

Instead of running these two operations in the critical sections created
by the custom mutex, they should be moved into a struct wrapped by a
standard Rust mutex. As a result, at the end when the custom mutex is
removed, these two operations are still in the critical sections that
are created by the Rust mutex.

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

--HG--
extra : moz-landing-system : lando
2019-07-10 08:07:00 +00:00
..
cubeb-coreaudio-rs Bug 1530715 - P40: Move stream setup and close into a struct within a mutex. r=padenot 2019-07-10 08:07:00 +00:00
cubeb-pulse-rs Bug 1518106 - Update cubeb-pulse-rs from upstream to 17c1629. r=kinetik 2019-01-23 19:37:18 +00:00
gtest Bug 1318091 - Disable failing android gtests; r=bc 2019-04-08 20:58:21 +00:00
include Bug 1531833 - Update libcubeb to 241e3c (and rebase an in-tree patch). r=kinetik 2019-04-16 15:44:47 +00:00
src Bug 1530715 - P3: Build cubeb-coreaudio-rs in libcubeb. r=kinetik 2019-07-10 08:06:12 +00:00
AUTHORS
disable-assert.patch
LICENSE
moz.build
moz.yaml Bug 1561945 - P2: Update cubeb from upstream to 98a1c8e. r=achronop 2019-06-30 23:36:38 +00:00
README.md
update.sh Bug 1561945 - P1: Copy sunaudio backend to cubeb. r=achronop 2019-06-27 16:59:00 +00:00

Build Status Build status

See INSTALL.md for build instructions.

Licensed under an ISC-style license. See LICENSE for details.