diff --git a/Userland/Services/AudioServer/Mixer.h b/Userland/Services/AudioServer/Mixer.h index 7647550b77..2d20f6e866 100644 --- a/Userland/Services/AudioServer/Mixer.h +++ b/Userland/Services/AudioServer/Mixer.h @@ -30,7 +30,7 @@ namespace AudioServer { // This is to prevent clipping when two streams with low headroom (e.g. normalized & compressed) are playing. constexpr double SAMPLE_HEADROOM = 0.95; // The size of the buffer in samples that the hardware receives through write() calls to the audio device. -constexpr size_t HARDWARE_BUFFER_SIZE = 1024; +constexpr size_t HARDWARE_BUFFER_SIZE = 512; // The hardware buffer size in bytes; there's two channels of 16-bit samples. constexpr size_t HARDWARE_BUFFER_SIZE_BYTES = HARDWARE_BUFFER_SIZE * 2 * sizeof(i16);