diff options
author | Liav A <liavalb@gmail.com> | 2022-02-11 22:31:18 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-14 11:39:19 +0100 |
commit | 10178dc939ace09ca1d5e4c007d1c6b0038cfeff (patch) | |
tree | 1f50b35ab122c9fb7f97d24cf910d0f95ae1fbda /Ports/imagemagick | |
parent | bf8c93fe0a4d66890d56d759afff3a943c07f634 (diff) | |
download | serenity-10178dc939ace09ca1d5e4c007d1c6b0038cfeff.zip |
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
Diffstat (limited to 'Ports/imagemagick')
0 files changed, 0 insertions, 0 deletions