summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2016-08-06 02:27:55 -0400
committerRyan C. Gordon <icculus@icculus.org>2016-08-06 02:27:55 -0400
commit913665ffd809014fb99b0b2f29b72cd80c1c17db (patch)
tree6e52e70746990b4b8ce964a90cab76cf93f83f5c /test
parent1684861ef8632123a2862cbe05d7bd092057caf2 (diff)
audio: SDL_ClearQueuedAudio() should free everything but two packets.
Otherwise, if you had a massive, one-time queue buildup, the memory from that remains allocated until you close the device. Also, if you are just using a reasonable amount of space, this would previously cause you to reallocate it over and over instead of keeping a little bit of memory around.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions