mirror of
https://github.com/RGBCube/serenity
synced 2026-01-14 17:21:07 +00:00
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 | ||