serenity/Kernel/Devices/Audio
Liav A 10178dc939 Kernel/Audio: Ignore buffers with more than 4096 bytes of data in SB16
The SB16 card driver doesn't swallow more than 4096 bytes of data at
once, so instead of asserting just return ENOSPC for now.

To test this, either play normal sound or just this (very!) loud noise:

dd if=/dev/random of=/dev/audio/0 bs=4096
2022-02-14 11:39:19 +01:00
..
AC97.cpp Kernel/Audio: Introduce a new design architecture for the subsystem 2022-02-14 11:39:19 +01:00
AC97.h Kernel/Audio: Introduce a new design architecture for the subsystem 2022-02-14 11:39:19 +01:00
Channel.cpp Kernel/Audio: Introduce a new design architecture for the subsystem 2022-02-14 11:39:19 +01:00
Channel.h Kernel/Audio: Introduce a new design architecture for the subsystem 2022-02-14 11:39:19 +01:00
Controller.h Kernel/Audio: Introduce a new design architecture for the subsystem 2022-02-14 11:39:19 +01:00
Management.cpp Kernel/Audio: Introduce a new design architecture for the subsystem 2022-02-14 11:39:19 +01:00
Management.h Kernel/Audio: Introduce a new design architecture for the subsystem 2022-02-14 11:39:19 +01:00
SB16.cpp Kernel/Audio: Ignore buffers with more than 4096 bytes of data in SB16 2022-02-14 11:39:19 +01:00
SB16.h Kernel/Audio: Introduce a new design architecture for the subsystem 2022-02-14 11:39:19 +01:00