1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 10:07:35 +00:00

LibAudio: Modernize WAV loader

With this, the WAV loader is a completely modern LibAudio loader:
- Own type header for RIFF data structures
- custom stream read functions for the types
- Final removal of legacy I/O error checking
- clearer error messages
- clean handling of header chunks

The latter will allow proper handling of other chunks (before "data") in
the future, such as metadata :^)
This commit is contained in:
kleines Filmröllchen 2023-03-15 22:44:32 +01:00 committed by Jelle Raaijmakers
parent 830a3a25dc
commit 70970b2fa9
5 changed files with 163 additions and 112 deletions

View file

@ -2,6 +2,7 @@ set(SOURCES
GenericTypes.cpp
SampleFormats.cpp
Loader.cpp
RIFFTypes.cpp
WavLoader.cpp
FlacLoader.cpp
WavWriter.cpp