summaryrefslogtreecommitdiff
path: root/Externals/FreeSurround/source/FreeSurroundDecoder.cpp
AgeCommit message (Collapse)Author
2023-02-15Externals/FreeSurround: Fix pointer created through new[] being freed via deletePokechu22
Doing so is not allowed (presumably because compilers are allowed to use a different algorithm for allocating between the two/store extra data such as the length of the array before the pointer). This bug existed in the original implementation at https://web.archive.org/web/20140708092159/http://www.hydrogenaud.io/forums/index.php?showtopic=52235 and causes Valgrind to emit a warning. Note that this ended up happening even if DSPLLE and the DPL decoder are not enabled in Dolphin.
2019-02-13Added FreeSurround to ExternalsLAGonauta
Also cleaned up its source code to support only 5.1 and 7.1 setups.