You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add: AudioStream::setDelayBeforeCloseMillis(delay)
This can be used to avoid use-after-free bugs
cause by callbacks running when close is called.
Fixes#1500
Add: AudioStream::setDelayBeforeCloseMillis(delay)
This can be used to avoid use-after-free bugs
cause by callbacks running when close is called.
Fixes#1500
Add test for delay before close.
Bump version to 1.6.3
There are ongoing problems with callbacks running after the stop.
In AudioStreamAAudio::close() we stop the stream and then sleep before closing the stream.
We should a call that allows the developer to change that sleep time.
Also the default should be based on the framesPerBurst, which may be 20 msec on some devices.
The text was updated successfully, but these errors were encountered: