1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:48:13 +00:00
serenity/Userland/Libraries/LibAudio
Tim Schumacher 8331d7cd82 LibAudio: Use the proper functions to read WAV samples
Turns out that, if we don't use functions that ensure reading until the
very end of the buffer, we only end up getting the very beginning of
samples and fill the rest with uninitialized data.

While at it, make sure that we read the data that is little endian as a
LittleEndian.
2023-02-27 18:28:12 +01:00
..
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
ConnectionToServer.cpp LibCore: Move Stream-based sockets into the Core namespace 2023-02-13 00:50:07 +00:00
ConnectionToServer.h LibCore: Move Stream-based sockets into the Core namespace 2023-02-13 00:50:07 +00:00
FlacLoader.cpp Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
FlacLoader.h LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
FlacTypes.h LibAudio: Add spec comments to the FlacLoader 2022-06-23 23:16:34 +01:00
GenericTypes.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Loader.cpp AK: Move Stream and SeekableStream from LibCore 2023-01-29 19:16:44 -07:00
Loader.h LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
LoaderError.h AK+Everywhere: Do not implicitly copy variables in TRY macros 2023-02-10 09:08:52 +00:00
MP3HuffmanTables.h Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
MP3Loader.cpp Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
MP3Loader.h LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
MP3Tables.h LibAudio+LibDSP: Switch samples to 32-bit float instead of 64-bit float 2022-05-07 20:20:16 +02:00
MP3Types.h LibAudio+LibDSP: Switch samples to 32-bit float instead of 64-bit float 2022-05-07 20:20:16 +02:00
Queue.h LibAudio+Userland: Remove Audio::LegacyBuffer 2022-05-03 23:09:20 +02:00
Resampler.h LibAudio: Tolerate a file sample rate lower than the AudioServer's 2022-12-31 00:04:34 +01:00
Sample.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
SampleFormats.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
SampleFormats.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
UserSampleQueue.cpp LibAudio: Prevent int overflow in the user buffer queue 2022-12-31 00:08:05 +01:00
UserSampleQueue.h Everywhere: Remove unused includes of AK/Format.h 2023-01-02 20:27:20 -05:00
WavLoader.cpp LibAudio: Use the proper functions to read WAV samples 2023-02-27 18:28:12 +01:00
WavLoader.h Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
WavWriter.cpp LibCore: Rename File to DeprecatedFile 2023-02-13 00:50:07 +00:00
WavWriter.h LibCore: Rename File to DeprecatedFile 2023-02-13 00:50:07 +00:00