Austin Hicks
unread,Dec 30, 2016, 2:17:49 PM12/30/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to libaud...@camlorn.net
Hi,
Yet another alpha. Two bugfixes, both kind of crucial:
Firstly, loading from files no longer blocks the audio threads
significantly. This comes at the cost of a higher memory requirement
while it loads, but means that you won't get stuttering because you made
a new buffer. Essentially, a lock was being held during the decoding
and resampling process but is now held only for a few pointer
assignments. Some people were getting inexplicable slowness that
couldn't be tracked down; this may be why.
Secondly, there was a somewhat rare crash with
Lav_environmentNodePlayAsync to do with having 31 or more sounds playing
through that mechanism at once. It's hard to explain what went wrong
here, but basically an object representing a firing callback could end
up being deleted while the callback was still firing. This is related
to issue #21. We have a hacky workaround for now, but it'll fix itself
when I rearchitect callbacks to be harder to get wrong internally.