mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
3f067f8457
Previously, AudioServer would deadlock when trying to play another audio stream, i.e. creating a queue. The m_pending_cond condition was used improperly, and the condition wait now happens independently of querying the pending queue for new clients if the mixer is running. To make the mixer's concurrency-safety code more readable, the use of raw POSIX mutex and condition syscalls is replaced with Threading::Mutex and Threading::ConditionVariable. |
||
---|---|---|
.. | ||
AudioClient.ipc | ||
AudioServer.ipc | ||
ClientConnection.cpp | ||
ClientConnection.h | ||
CMakeLists.txt | ||
FadingProperty.h | ||
main.cpp | ||
Mixer.cpp | ||
Mixer.h |