ladybird/Userland/Services
kleines Filmröllchen b4fbd30b70 AudioServer+Userland: Decouple client sample rates from device rate
This change was a long time in the making ever since we obtained sample
rate awareness in the system. Now, each client has its own sample rate,
accessible via new IPC APIs, and the device sample rate is only
accessible via the management interface. AudioServer takes care of
resampling client streams into the device sample rate. Therefore, the
main improvement introduced with this commit is full responsiveness to
sample rate changes; all open audio programs will continue to play at
correct speed with the audio resampled to the new device rate.

The immediate benefits are manifold:
- Gets rid of the legacy hardware sample rate IPC message in the
  non-managing client
- Removes duplicate resampling and sample index rescaling code
  everywhere
- Avoids potential sample index scaling bugs in SoundPlayer (which have
  happened many times before) and fixes a sample index scaling bug in
  aplay
- Removes several FIXMEs
- Reduces amount of sample copying in all applications (especially
  Piano, where this is critical), improving performance
- Reduces number of resampling users, making future API changes (which
  will need to happen for correct resampling to be implemented) easier

I also threw in a simple race condition fix for Piano's audio player
loop.
2023-07-01 23:27:24 +01:00
..
AudioServer AudioServer+Userland: Decouple client sample rates from device rate 2023-07-01 23:27:24 +01:00
ChessEngine Chess+ChessEngine: Fix stockfish by setting correct blocking flag 2023-05-27 18:44:21 +02:00
Clipboard Clipboard: Avoid unnecessary IPC::Dictionary wrapper 2023-05-21 07:53:45 +02:00
ConfigServer LibCore: Move Stream-based sockets into the Core namespace 2023-02-13 00:50:07 +00:00
CrashDaemon AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
DHCPClient DHCPClient: Remove usage of DeprecatedFile 2023-04-27 07:29:49 +02:00
EchoServer Everywhere: Remove unintentional partial stream reads and writes 2023-03-13 15:16:20 +00:00
FileOperation Everywhere: Remove unintentional partial stream reads and writes 2023-03-13 15:16:20 +00:00
FileSystemAccessServer FileSystemAccessServer: Don't transmit unused data 2023-05-29 13:17:22 +02:00
ImageDecoder LibGfx: Move all image loaders and writers to a subdirectory 2023-03-21 22:39:25 +01:00
KeyboardPreferenceLoader KeyboardPreferenceLoader: Remove usage of DeprecatedFile 2023-04-27 07:29:49 +02:00
LaunchServer LibCore+Userland: Remove uses of DeprecatedString in file utility 2023-06-14 11:18:22 -04:00
LoginServer LibGUI: Make Application's construction fallible 2023-05-05 16:41:21 +01:00
LookupServer AK: Rename Time to Duration 2023-05-24 23:18:07 +02:00
NetworkServer LibCore: Move Stream-based file into the Core namespace 2023-02-13 00:50:07 +00:00
NotificationServer NotificationServer: Stop notifications showing in the top left at first 2023-05-31 14:45:54 +02:00
RequestServer Everywhere: Correctly report progress of downloads larger than 4GiB 2023-06-19 06:13:19 +02:00
SpiceAgent SpiceAgent: Exit early if SPICE_DEVICE doesn't exist 2023-06-03 05:52:16 +02:00
SQLServer LibSQL+SQLServer: Do not re-open databases 2023-06-13 16:33:42 -04:00
SystemServer SystemServer: Handle waitpid's status correctly 2023-06-13 06:15:10 +02:00
Taskbar Userland: Convert config listener callbacks to use StringView 2023-06-27 15:37:00 +01:00
TelnetServer Userland: Merge DEFAULT_PATH into LibFileSystem/FileSystem.h 2023-05-13 07:53:13 +02:00
WebContent AudioServer+Userland: Decouple client sample rates from device rate 2023-07-01 23:27:24 +01:00
WebDriver AK: Add new failable JsonArray::{append/set} functions 2023-04-24 09:21:51 +02:00
WebServer WebServer: Show the correct port when using port 0 2023-06-21 08:35:44 +02:00
WebSocket WebSocket: Avoid unnecessary IPC::Dictionary wrapper 2023-05-21 07:53:45 +02:00
WindowServer WindowServer: Yank out window frame opacity 2023-06-24 23:45:27 +02:00
CMakeLists.txt Userland: Remove "Inspector" program and related utilities 2023-04-25 14:48:40 +02:00