summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormlelstv <mlelstv@NetBSD.org>2023-05-28 07:59:17 +0000
committermlelstv <mlelstv@NetBSD.org>2023-05-28 07:59:17 +0000
commit9551f266f1c623f4e8a97c65615c0299bb1c300c (patch)
treec49ffd13e5e4f86280cc5ce6269d339c04060cfc /sys/dev
parent8736c3cd8fffb300bf4e42fbde7ff5482eb09dbc (diff)
With the latest changes, pad(4) will return partial reads to allow a
more fine grained pacing of audio data. But this broke bta2dpd which relied on full buffers returned (like reading from a file). Replace the single read() in bta2dpd with a loop that fetches a full buffer. This restores the old behaviour but loops in userland instead of the kernel at the cost of a few extra system calls.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions