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

This commit adds a loader for the FLAC audio codec, the Free Lossless Audio codec by the Xiph.Org foundation. LibAudio will automatically read and parse FLAC files, so users do not need to adjust. This implementation is bare-bones and needs to be improved upon. There are many bugs, verbatim subframes and any kind of seeking is not supported. However, stereo files exported by libavcodec on highest compression setting seem to work well.
16 lines
332 B
CMake
16 lines
332 B
CMake
set(SOURCES
|
|
Buffer.cpp
|
|
ClientConnection.cpp
|
|
Loader.cpp
|
|
WavLoader.cpp
|
|
FlacLoader.cpp
|
|
WavWriter.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
../../Services/AudioServer/AudioClientEndpoint.h
|
|
../../Services/AudioServer/AudioServerEndpoint.h
|
|
)
|
|
|
|
serenity_lib(LibAudio audio)
|
|
target_link_libraries(LibAudio LibCore LibIPC)
|