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/Services | |
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/Services')
-rw-r--r-- | Userland/Services/AudioServer/AudioServer.ipc | 2 | ||||
-rw-r--r-- | Userland/Services/AudioServer/ConnectionFromClient.cpp | 2 | ||||
-rw-r--r-- | Userland/Services/AudioServer/ConnectionFromClient.h | 2 | ||||
-rw-r--r-- | Userland/Services/AudioServer/Mixer.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Services/AudioServer/AudioServer.ipc b/Userland/Services/AudioServer/AudioServer.ipc index 890642d23e..9d612a56b5 100644 --- a/Userland/Services/AudioServer/AudioServer.ipc +++ b/Userland/Services/AudioServer/AudioServer.ipc @@ -1,5 +1,5 @@ #include <LibCore/AnonymousBuffer.h> -#include <LibAudio/Buffer.h> +#include <LibAudio/Queue.h> endpoint AudioServer { diff --git a/Userland/Services/AudioServer/ConnectionFromClient.cpp b/Userland/Services/AudioServer/ConnectionFromClient.cpp index 4c3d6862c4..ec0959edea 100644 --- a/Userland/Services/AudioServer/ConnectionFromClient.cpp +++ b/Userland/Services/AudioServer/ConnectionFromClient.cpp @@ -7,7 +7,7 @@ #include "ConnectionFromClient.h" #include "Mixer.h" #include <AudioServer/AudioClientEndpoint.h> -#include <LibAudio/Buffer.h> +#include <LibAudio/Queue.h> namespace AudioServer { diff --git a/Userland/Services/AudioServer/ConnectionFromClient.h b/Userland/Services/AudioServer/ConnectionFromClient.h index 2962ecbf37..2116c5fc55 100644 --- a/Userland/Services/AudioServer/ConnectionFromClient.h +++ b/Userland/Services/AudioServer/ConnectionFromClient.h @@ -9,7 +9,7 @@ #include <AK/HashMap.h> #include <AudioServer/AudioClientEndpoint.h> #include <AudioServer/AudioServerEndpoint.h> -#include <LibAudio/Buffer.h> +#include <LibAudio/Queue.h> #include <LibCore/EventLoop.h> #include <LibIPC/ConnectionFromClient.h> diff --git a/Userland/Services/AudioServer/Mixer.h b/Userland/Services/AudioServer/Mixer.h index ca59225be5..840952b8f1 100644 --- a/Userland/Services/AudioServer/Mixer.h +++ b/Userland/Services/AudioServer/Mixer.h @@ -16,7 +16,7 @@ #include <AK/Queue.h> #include <AK/RefCounted.h> #include <AK/WeakPtr.h> -#include <LibAudio/Buffer.h> +#include <LibAudio/Queue.h> #include <LibCore/File.h> #include <LibCore/Timer.h> #include <LibThreading/ConditionVariable.h> |