diff options
| author | Lukas <[email protected]> | 2023-10-23 18:16:28 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-23 18:16:28 +0200 |
| commit | daf227a185808d1e37e4269cf4a5be6b690226f6 (patch) | |
| tree | 2d19fd3cd1e0bab1ca8d15d4d886908b745fe756 /src/raylib.rc.data | |
| parent | 4ed776368a488b242781d77753f4b11396f97ce7 (diff) | |
| download | raylib-daf227a185808d1e37e4269cf4a5be6b690226f6.tar.gz raylib-daf227a185808d1e37e4269cf4a5be6b690226f6.zip | |
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.
Diffstat (limited to 'src/raylib.rc.data')
0 files changed, 0 insertions, 0 deletions
