mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00

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 :^)
26 lines
599 B
CMake
26 lines
599 B
CMake
set(SOURCES
|
|
GenericTypes.cpp
|
|
SampleFormats.cpp
|
|
Loader.cpp
|
|
RIFFTypes.cpp
|
|
WavLoader.cpp
|
|
FlacLoader.cpp
|
|
WavWriter.cpp
|
|
Metadata.cpp
|
|
MP3Loader.cpp
|
|
QOALoader.cpp
|
|
QOATypes.cpp
|
|
UserSampleQueue.cpp
|
|
VorbisComment.cpp
|
|
)
|
|
|
|
if (SERENITYOS)
|
|
list(APPEND SOURCES ConnectionToServer.cpp)
|
|
set(GENERATED_SOURCES
|
|
../../Services/AudioServer/AudioClientEndpoint.h
|
|
../../Services/AudioServer/AudioServerEndpoint.h
|
|
)
|
|
endif()
|
|
|
|
serenity_lib(LibAudio audio)
|
|
target_link_libraries(LibAudio PRIVATE LibCore LibIPC LibThreading LibUnicode LibCrypto)
|