1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:38:10 +00:00
serenity/Userland/Libraries/LibAudio
kleines Filmröllchen b48badc3b6 LibAudio: Remove frame-wise copys from FlacLoader
Previously, FlacLoader would read the data for each frame into a
separate vector, which are then combined via extend() in the end. This
incurs an avoidable copy per frame. By having the next_frame() function
write into a given Span, there's only one vector allocated per call to
get_more_samples().

This increases performance by at least 100% realtime, as measured by
abench, from about 1200%-1300% to (usually) 1400% on complex test files.
2022-01-02 22:18:37 +01:00
..
Buffer.cpp LibAudio: New error propagation API in Loader and Buffer 2021-11-28 13:33:51 -08:00
Buffer.h LibAudio: Alow creating a Buffer from a FixedArray 2022-01-02 22:18:37 +01:00
ClientConnection.cpp Everywhere: Refactor 'muted' to 'main_mix_muted' in all AudioConnections 2021-12-24 00:19:01 -08:00
ClientConnection.h Everywhere: Refactor 'muted' to 'main_mix_muted' in all AudioConnections 2021-12-24 00:19:01 -08:00
CMakeLists.txt LibAudio: Implement a basic FLAC loader 2021-06-25 20:48:14 +04:30
FlacLoader.cpp LibAudio: Remove frame-wise copys from FlacLoader 2022-01-02 22:18:37 +01:00
FlacLoader.h LibAudio: Remove frame-wise copys from FlacLoader 2022-01-02 22:18:37 +01:00
FlacTypes.h LibAudio: Implement a basic FLAC loader 2021-06-25 20:48:14 +04:30
Loader.cpp LibAudio: New error propagation API in Loader and Buffer 2021-11-28 13:33:51 -08:00
Loader.h LibAudio: New error propagation API in Loader and Buffer 2021-11-28 13:33:51 -08:00
LoaderError.h LibAudio: New error propagation API in Loader and Buffer 2021-11-28 13:33:51 -08:00
Sample.h Audio: Fix code smells and issues found by static analysis 2021-11-15 23:00:11 +00:00
WavLoader.cpp LibAudio: New error propagation API in Loader and Buffer 2021-11-28 13:33:51 -08:00
WavLoader.h LibAudio: New error propagation API in Loader and Buffer 2021-11-28 13:33:51 -08:00
WavWriter.cpp Audio: Fix code smells and issues found by static analysis 2021-11-15 23:00:11 +00:00
WavWriter.h Audio: Fix code smells and issues found by static analysis 2021-11-15 23:00:11 +00:00