Changes between Initial Version and Version 1 of Ticket #5265, comment 14


Ignore:
Timestamp:
Jan 21, 2021, 3:18:47 PM (3 years ago)
Author:
wraitii

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5265, comment 14

    initial v1  
    33From what I can tell, the errors pop up once we have 1000 openAL buffers "in flight", which can happen quickly because music/ambient sounds take 50 buffers, and sometimes don't clear until 0 A.D. is exited.
    44
    5 I think i've read somewhere that Mac OS had that limit, but I literally can't find where again :P
     5I think i've read somewhere that Mac OS had that limit, but I literally can't find where again :P  (edit: https://stackoverflow.com/questions/3894044/maximum-number-of-openal-sound-buffers-on-iphone, thanks stan)
    66
    77Anyways, the cause here is that we have leaks, because we're not properly clearing "stream" items. They end up paused, and then they're never deleted until game's exit.