mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
43dfd443a9
The aggregate device of the stream may be created, reinitialized, or destroyed on different threads, so its operations should be in the critical sections. We do create critical sections by our custom mutex. However, this custom mutex will be gradually replaced by the standard Rust mutex in the following patches. To replace the custom mutex, we create a struct wrapped by a Rust mutex and create critical sections by this Rust mutex to do operations for aggregate-device settings. At the end, not only aggregate-device calls, but also other operations that needs to be locked will be operated in the critical section created by this struct. This is the beginning patch to replace the custom mutex in AudioUnitStream. Differential Revision: https://phabricator.services.mozilla.com/D34058 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
cubeb-coreaudio-rs | ||
cubeb-pulse-rs | ||
gtest | ||
include | ||
src | ||
AUTHORS | ||
disable-assert.patch | ||
LICENSE | ||
moz.build | ||
moz.yaml | ||
README.md | ||
update.sh |