Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix VoiceHandler memory access out of bounds on WebGL (#324)
## Description This should fix issue #323, where for some AudioClip lengths the GetAmplitude method tried to read data from the clip even if the remaining samples were 0. ## How to Test - add VoiceHandler component on an avatar - set build target to webGL and run the built application - let the AudioSource referenced by the VoiceHandler reproduce AudioClips with various lengths ## Checklist - [ ] Tests written or updated for the changes. - [ ] Documentation is updated. - [ ] Changelog is updated.
- Loading branch information