https://bugs.winehq.org/show_bug.cgi?id=40963
--- Comment #5 from Andrew Eikum aeikum@codeweavers.com --- (In reply to Alistair Leslie-Hughes from comment #4)
(In reply to Andrew Eikum from comment #3)
I think a better solution would be to clear the OpenAL source object's processed buffers during Stop, calling callbacks as needed, then drop any remaining buffers in the source. This should prevent nbufs from being decremented after the flush call, since there should be no more buffers remaining from before the flush.
Did you want to write it? Happy to test..
I will when I find time, but I won't be sad if you beat me to it :)