mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
c6d498af25
The way we pass in AudioDataValue arrays into AudioData is non-uniform: sometimes we have nsAutoArrayPtrs, sometimes we don't, and it's not immediately obvious from the function signature of the constructor that we're actually taking ownership of this array. Let's fix that by using UniquePtr<AudioDataValue[]> smart pointers to hold the data prior to creating AudioData values, and for passing in to AudioData's constructor. Using standard-er C++ things instead of our homegrown ones is a good thing. |
||
---|---|---|
.. | ||
moz.build | ||
WaveDecoder.cpp | ||
WaveDecoder.h | ||
WaveReader.cpp | ||
WaveReader.h |