]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commit
sound: track QEMU output voices separately
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Sun, 31 May 2026 07:18:38 +0000 (00:18 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Sun, 31 May 2026 07:19:02 +0000 (00:19 -0700)
commit1246eda13acffa3a536c89ca6539b24f589ad142
tree0e79d1004462e89110b9f8d35945f307792229dd
parent894c20ec66b0934e9c20a7555e6c60c91f66305c
sound: track QEMU output voices separately

Keep every QEMU output voice on a small linked list instead of
replacing a single global pointer. Pass the voice through the audio
callback so each active stream reads its own buffer.

Update all active QEMU voice volumes, only run QEMU board audio when a
voice is active, clamp writes to the sample buffer, and return no input
data until the capture path has a real backend.
qemuvga/qemuaudio.h
sndboard.cpp