diff options
| author | Christos Margiolis <christos@FreeBSD.org> | 2026-09-07 14:48:21 +0000 |
|---|---|---|
| committer | Christos Margiolis <christos@FreeBSD.org> | 2026-09-07 14:48:21 +0000 |
| commit | a7258157e1a20957af23332814197ea723f5778d (patch) | |
| tree | 1cbaae5cc20531d9463a422ea41b25d43e45debf /sys/modules/backlight | |
| parent | 358fe149f591028945a8e5a51dff9121a2358c85 (diff) | |
The playback voices always loop over the whole EMU_PLAY_BUFSZ buffer,
but emupchan_setblocksize() only recorded the new block size and left
the block count as it was set up by emu_vinit(). The blocks then no
longer covered the whole buffer, and the part they left out was played
without ever being written to, which became audible as distortion once
playback started going through a virtual channel.
Resize the buffer, so that the block count and size always cover it.
Fixes: 02d4eeabfd73 ("sound: Allocate vchans on-demand")
PR: 287687
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D59444
Diffstat (limited to 'sys/modules/backlight')
0 files changed, 0 insertions, 0 deletions
