summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibAudio/QOALoader.cpp
diff options
context:
space:
mode:
authorLucas CHOLLET <lucas.chollet@free.fr>2023-05-03 18:45:18 -0400
committerAndreas Kling <kling@serenityos.org>2023-05-09 11:18:46 +0200
commit8c34959b53b2b72122fe6d2718d5dc060ff56875 (patch)
tree8e88ecd303fddce25ffc170d297bc76762f115da /Userland/Libraries/LibAudio/QOALoader.cpp
parent48b000a36cb22550e2c5314bc6c471812c963d0c (diff)
downloadserenity-8c34959b53b2b72122fe6d2718d5dc060ff56875.zip
AK: Add the `Input` word to input-only buffered streams
This concerns both `BufferedSeekable` and `BufferedFile`.
Diffstat (limited to 'Userland/Libraries/LibAudio/QOALoader.cpp')
-rw-r--r--Userland/Libraries/LibAudio/QOALoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibAudio/QOALoader.cpp b/Userland/Libraries/LibAudio/QOALoader.cpp
index 68acf2eb96..bca3cb2601 100644
--- a/Userland/Libraries/LibAudio/QOALoader.cpp
+++ b/Userland/Libraries/LibAudio/QOALoader.cpp
@@ -26,7 +26,7 @@ QOALoaderPlugin::QOALoaderPlugin(NonnullOwnPtr<AK::SeekableStream> stream)
Result<NonnullOwnPtr<QOALoaderPlugin>, LoaderError> QOALoaderPlugin::create(StringView path)
{
- auto stream = LOADER_TRY(Core::BufferedFile::create(LOADER_TRY(Core::File::open(path, Core::File::OpenMode::Read))));
+ auto stream = LOADER_TRY(Core::InputBufferedFile::create(LOADER_TRY(Core::File::open(path, Core::File::OpenMode::Read))));
auto loader = make<QOALoaderPlugin>(move(stream));
LOADER_TRY(loader->initialize());