aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/backlight/(developers-only)
diff options
context:
space:
mode:
authorChristos Margiolis <christos@FreeBSD.org>2026-09-07 14:48:21 +0000
committerChristos Margiolis <christos@FreeBSD.org>2026-09-07 14:48:21 +0000
commita7258157e1a20957af23332814197ea723f5778d (patch)
tree1cbaae5cc20531d9463a422ea41b25d43e45debf /sys/modules/backlight/(developers-only)
parent358fe149f591028945a8e5a51dff9121a2358c85 (diff)
snd_emu10kx: Make sure the block count and size cover the whole bufferHEADmain
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/(developers-only)')
0 files changed, 0 insertions, 0 deletions