Since it will bring some extra performance I would like to enable it.
But first I need to know why when I compile CE with inline functions enabled, the game (in runtime) complains here (CitrusSoundInstance):
protected static var _maxChannels:uint = SoundChannelUtil.maxAvailableChannels();
If I bypass it by setting it to =256
It will complain here:
protected static var _nonPermanent:Vector.<CitrusSoundInstance> = new Vector.<CitrusSoundInstance>();
Anyone? Thanks!
EDIT: Actually I just found out, there was a bug:
public static function get maxChannels():uint { return _maxChannels; }; { if(maxChannels < 32) trace("[CitrusSoundInstance] maximum number of concurrent SoundChannels for this instance of CitrusEngine :", maxChannels); }
Can you spot it?