- Added stubs per platform in their ini file that doesn't change volume, except for mac which this bug is about and for which I reduced the volume by -6 dB. This can be changed by designers as per needed for their game per platform. The final headroom should be set by designers.
- Removed the hard-coded headroom constant used in OpenAL recently added.
[CL 2611741 by Aaron McLeran in Main branch]
- 3d audio was fundamnetally broken in HTML5 and Linux for a long time (probably since original port from UE3)
- Fix is to do 3d spatialization math the same way we do it on XAudio2 (i.e. transform to listener-space then do relative source position from there)
- Since HTML5 and Linux *both* use nearly identical OpenAL implementations (and Linux has been fixed by users for a few issues), I decided to nuke the HTML5 implementation and instead link to the Linux implementation. Not sure if we should move the linux OpenAL implementation to a different folder, but it turned out not to matter for packing and testing HTML5
- Also went ahead and added a -3dB headroom factor to reduce volume overall with OpenAL implementation since it was louder than the XAudio2 implementation. I didn't do any technical measurements to come up with this headroom factor, just ear-balled it. We can do something more precise if needed.
- Tested this fix using a simple test-map of a single looping sound source. It was obviously broken (i.e. not panning) and is now obviously fixed.
[CL 2611557 by Aaron McLeran in Main branch]
Android SDK path backslash duplication fix.
Fix for User inis not saving array properties correctly.
#codereview Ankit.Khare, Josh.Adams
[CL 2418611 by James Moran in Main branch]
- takes preference over EMSCRIPTEN env variable
- editor can now detect sdk on yosemite.
- refactor and simplyfy emscripten sdk access in .cs files.
#corereview james.moran
[CL 2345958 by Ankit Khare in Main branch]
The configuration is driven by a editor platform specific .ini setting. Also, always serve files via a web browser ( python SimpleHTTP Server ) whose life time is attached to the browser device to get around X-origin issues w/ chrome. cook on the fly path remains as such, because we already serve via the cook on the fly web server.
#HTML5
#codereview james.moran, peter.sauerbrei
[CL 2281792 by Ankit Khare in Main branch]
Platform ini now contains a [BuildSettings] section with HeapSize values which can be overriden per config.
#codereview Peter.Sauerbrei
[CL 2087502 by Ankit Khare in Main branch]