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
@teropa made a great recommendation to add backpressure to the decoder. This would prevent excessive memory use by limiting the number of unplayed, decoded AudioBuffers. One suggestion is to control the amount of decoded audio based on time (seconds), because DecodedAudioPlaybackBuffer grows audio buffers in size exponentially, creating lots of small buffers at first to provide low latency playback and then growing the sizes to create fewer, larger AudioBuffers, which reduces CPU and audio glitches.
The text was updated successfully, but these errors were encountered:
anthumchris
changed the title
Add Backpressure to
Reduce AudioBuffer Memory Usage
May 22, 2020
@teropa made a great recommendation to add backpressure to the decoder. This would prevent excessive memory use by limiting the number of unplayed, decoded AudioBuffers. One suggestion is to control the amount of decoded audio based on time (seconds), because DecodedAudioPlaybackBuffer grows audio buffers in size exponentially, creating lots of small buffers at first to provide low latency playback and then growing the sizes to create fewer, larger AudioBuffers, which reduces CPU and audio glitches.
The text was updated successfully, but these errors were encountered: