Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes a memory leak as a result of creating an AudioBuffer* with the …
…old source.frameCount. This internally allocates memory to the structs data pointer which is then later overridden by the correct sound data of the source sound. (#3458) Additionally added a volume assignment from old to new as currently there is no way to get the volume of a sound and the AudioBuffer struct is not reachable from user code due to opaque definition.
- Loading branch information