diff options
author | kleines Filmröllchen <filmroellchen@serenityos.org> | 2022-04-23 12:30:36 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-05-03 23:09:20 +0200 |
commit | ab49fcfb7c9ea591d9ec53c3a4bd590d695dad3e (patch) | |
tree | fdfd70a1be87161d5aecaf406fb6322586f2827a /Userland/Libraries/LibDSP | |
parent | f14a71eb34cadd9c83d3877d49f404c3317f87df (diff) | |
download | serenity-ab49fcfb7c9ea591d9ec53c3a4bd590d695dad3e.zip |
LibAudio+Userland: Remove Audio::LegacyBuffer
The file is now renamed to Queue.h, and the Resampler APIs with
LegacyBuffer are also removed. These changes look large because nobody
actually needs Buffer.h (or Queue.h). It was mostly transitive
dependencies on the massive list of includes in that header, which are
now almost all gone. Instead, we include common things like Sample.h
directly, which should give faster compile times as very few files
actually need Queue.h.
Diffstat (limited to 'Userland/Libraries/LibDSP')
-rw-r--r-- | Userland/Libraries/LibDSP/Music.h | 2 | ||||
-rw-r--r-- | Userland/Libraries/LibDSP/Synthesizers.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibDSP/Music.h b/Userland/Libraries/LibDSP/Music.h index 9553a9bf46..9b76960f3e 100644 --- a/Userland/Libraries/LibDSP/Music.h +++ b/Userland/Libraries/LibDSP/Music.h @@ -10,7 +10,7 @@ #include <AK/Types.h> #include <AK/Variant.h> #include <AK/Vector.h> -#include <LibAudio/Buffer.h> +#include <LibAudio/Sample.h> #include <LibDSP/Envelope.h> namespace LibDSP { diff --git a/Userland/Libraries/LibDSP/Synthesizers.cpp b/Userland/Libraries/LibDSP/Synthesizers.cpp index 38761af048..5c8b1dd4b8 100644 --- a/Userland/Libraries/LibDSP/Synthesizers.cpp +++ b/Userland/Libraries/LibDSP/Synthesizers.cpp @@ -7,6 +7,7 @@ #include <AK/HashMap.h> #include <AK/Math.h> #include <AK/Random.h> +#include <LibAudio/Sample.h> #include <LibDSP/Envelope.h> #include <LibDSP/Processor.h> #include <LibDSP/Synthesizers.h> |