diff options
author | Zack Middleton <zturtleman@gmail.com> | 2013-11-10 22:42:48 -0600 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-06-17 17:43:36 +0100 |
commit | f7e122a3f11830fa4c5e049296b31969d2964280 (patch) | |
tree | 956dd3a1644dbf9c49a7369ae35c3f99e96a881e /src/zlib/crc32.h | |
parent | a9f515331547b95d2c4813a57e89e8fbf66f161b (diff) |
Make OpenAL buffer management work on OS X
Don't assume we have unlimited OpenAL buffers.
Detach buffers from sources by setting AL_BUFFER to 0. Cannot delete buffers on OS X immediately after alSourceUnqueueBuffers.
Free unprocessed stream and music buffers.
Free unused sfx buffers when sound file exists and fails loading into OpenAL (though I haven't seen it fail).
Diffstat (limited to 'src/zlib/crc32.h')
0 files changed, 0 insertions, 0 deletions