axmol/cocos/audio/linux
minggo 3e6b1ffe92
refactor AudioEngine-Linux (#19822) (#19946)
* 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
2019-07-22 09:37:07 +08:00
..
AudioEngine-linux.cpp refactor AudioEngine-Linux (#19822) (#19946) 2019-07-22 09:37:07 +08:00
AudioEngine-linux.h update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00