mirror of https://github.com/axmolengine/axmol.git
3e6b1ffe92
* refactor AudioEngine and AudioEngine-linux * map::erase() can handle case if key doesn't exist. * use map::iterator when it has already obtained. * mapChannelInfo[id].channel is nullptr befor resume(). Don't dereference it. * FMOD::System::release() calls close, so calling close before release is not necessary. * use std::map::insert properly. * remove unnecessary null check on _audioEngineImpl * add comment on nullptr dereference |
||
---|---|---|
.. | ||
AudioEngine-linux.cpp | ||
AudioEngine-linux.h |