mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
![]() Prior code in `WavLoader::get_more_samples()` would attempt to read the requested number of samples without actually checking whether that many samples were remaining in the stream. This was the cause of an audible pop at the end of a track, due to reading non-audio data that is sometimes at the end of a Wave file. Now we only attempt to read up to the end of sample data, but no further. Also, added comments to clarify the meaning of "sample", and how it should be independent of the number of channels. |
||
---|---|---|
.. | ||
Buffer.cpp | ||
Buffer.h | ||
ClientConnection.cpp | ||
ClientConnection.h | ||
CMakeLists.txt | ||
Loader.cpp | ||
Loader.h | ||
WavLoader.cpp | ||
WavLoader.h | ||
WavWriter.cpp | ||
WavWriter.h |