]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commit
sndboard: disable recording if capture setup fails
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Sun, 31 May 2026 07:19:10 +0000 (00:19 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Sun, 31 May 2026 07:19:25 +0000 (00:19 -0700)
commit9e27ff64d9fc9bd9207b9526a37fddd5d9e8d111
treed65849c4fcb18d845896b6fdfa43bb5ed42a52a9
parent1246eda13acffa3a536c89ca6539b24f589ad142
sndboard: disable recording if capture setup fails

codec_start() allocated the record buffer even when host capture setup
failed. Treat that as recording unavailable, clear the record bit, free
the buffer, and leave playback running.
sndboard.cpp