ladybird/Userland
kleines Filmröllchen d9c1eb860f AudioServer: Detect improperly detached audio clients
Because IPC is used very little in audio server communication, a
ping-pong method like WindowServer is neither a good nor a reliable way
of detecting detached audio clients. AudioServer was previously doing
nothing to detect the kinds of clients that never closed their
connection properly, which happens e.g. when a program is force-closed.
Due to reference-counting cycles, the associated client connection
queues were being kept alive. However, the is_open method of local
sockets reliably detects all kinds of disconnected sockets and can
easily be adapted for this use case. With this fix, we no longer get
"Audio client can't keep up" spam on improperly disconnected clients,
and the client queues don't fill up indefinitely, reducing processing
and memory usage in AudioServer.
2022-11-25 17:43:16 -07:00
..
Applets LibGUI+Taskbar+Applets+Applications: Set various windows as Popups 2022-11-19 16:04:42 +01:00
Applications LibAudio: Set asynchronous audio enqueuer thread to maximum priority 2022-11-25 17:01:44 -07:00
Demos
DevTools
DynamicLoader
Games
Libraries LibVT: Prevent u16 underflow when resizing terminal to a height of 1 2022-11-26 01:28:05 +01:00
Services AudioServer: Detect improperly detached audio clients 2022-11-25 17:43:16 -07:00
Shell
Utilities FuzzTar+tar: Advance the stream before continuing 2022-11-26 01:24:12 +01:00
CMakeLists.txt