ladybird/Userland/Services/AudioServer
Jelle Raaijmakers 5c64686666 Kernel+AudioServer: Use interrupts for Intel HDA audio buffer completion
We used to not care about stopping an audio output stream for Intel HDA
since AudioServer would continuously send new buffers to play. Since
707f5ac150ef858760eb9faa52b9ba80c50c4262 however, that has changed.

Intel HDA now uses interrupts to detect when each buffer was completed
by the device, and uses a simple heuristic to detect whether a buffer
underrun has occurred so it can stop the output stream.

This was tested on Qemu's Intel HDA (Linux x86_64) and a bare metal MSI
Starship/Matisse HD Audio Controller.
2023-07-04 00:05:34 +02:00
..
AudioClient.ipc AudioServer+Userland: Separate audio IPC into normal client and manager 2023-06-25 00:16:44 +02:00
AudioManagerClient.ipc AudioServer+Userland: Separate audio IPC into normal client and manager 2023-06-25 00:16:44 +02:00
AudioManagerServer.ipc AudioServer+Userland: Separate audio IPC into normal client and manager 2023-06-25 00:16:44 +02:00
AudioServer.ipc AudioServer+Userland: Decouple client sample rates from device rate 2023-07-01 23:27:24 +01:00
CMakeLists.txt AudioServer+Userland: Separate audio IPC into normal client and manager 2023-06-25 00:16:44 +02:00
ConnectionFromClient.cpp AudioServer+Userland: Decouple client sample rates from device rate 2023-07-01 23:27:24 +01:00
ConnectionFromClient.h AudioServer+Userland: Decouple client sample rates from device rate 2023-07-01 23:27:24 +01:00
ConnectionFromManagerClient.cpp AudioServer+Userland: Separate audio IPC into normal client and manager 2023-06-25 00:16:44 +02:00
ConnectionFromManagerClient.h AudioServer+Userland: Separate audio IPC into normal client and manager 2023-06-25 00:16:44 +02:00
FadingProperty.h LibWeb+AudioServer: Remove unused spaceship operators 2022-04-23 10:43:32 -07:00
main.cpp AudioServer+Userland: Separate audio IPC into normal client and manager 2023-06-25 00:16:44 +02:00
Mixer.cpp Kernel+AudioServer: Use interrupts for Intel HDA audio buffer completion 2023-07-04 00:05:34 +02:00
Mixer.h AudioServer+Userland: Decouple client sample rates from device rate 2023-07-01 23:27:24 +01:00