mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
93932acf07
1. The code readability is slightly better if we can register and unregister the callbacks in the same places. The device-chaned callbacks are registered when stream setup and unregistered when stream close. 2. In the later mutex replacement, the core stream variables that may be touched by different threads when reinitializing or destroying the stream, including {in, out}_unit, will be wrapped in a Rust mutex. Moving these callbacks (un)registration into the same places makes it easier to find where the critical sections are. Differential Revision: https://phabricator.services.mozilla.com/D34066 --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 |