summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibAudio/MP3Loader.cpp
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-12-07 15:47:44 +0100
committerLinus Groh <mail@linusgroh.de>2022-12-15 13:28:29 +0000
commitc6d71ca72757c1d69e608aa101e47818cf9991e1 (patch)
treea8dc8edf99e2776c8dfa513de26a5b67969303e9 /Userland/Libraries/LibAudio/MP3Loader.cpp
parentc4f68bde570e654be749dc57a91a80e01d21f143 (diff)
downloadserenity-c6d71ca72757c1d69e608aa101e47818cf9991e1.zip
LibCore: Rename `MemoryStream` to `FixedMemoryStream`
This is to differentiate between the upcoming `AllocatingMemoryStream`, which automatically allocates memory as needed instead of operating on a static memory area.
Diffstat (limited to 'Userland/Libraries/LibAudio/MP3Loader.cpp')
-rw-r--r--Userland/Libraries/LibAudio/MP3Loader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibAudio/MP3Loader.cpp b/Userland/Libraries/LibAudio/MP3Loader.cpp
index 229921653c..fd13f8dea8 100644
--- a/Userland/Libraries/LibAudio/MP3Loader.cpp
+++ b/Userland/Libraries/LibAudio/MP3Loader.cpp
@@ -31,7 +31,7 @@ Result<NonnullOwnPtr<MP3LoaderPlugin>, LoaderError> MP3LoaderPlugin::try_create(
Result<NonnullOwnPtr<MP3LoaderPlugin>, LoaderError> MP3LoaderPlugin::try_create(Bytes buffer)
{
- auto stream = LOADER_TRY(Core::Stream::MemoryStream::construct(buffer));
+ auto stream = LOADER_TRY(Core::Stream::FixedMemoryStream::construct(buffer));
auto loader = make<MP3LoaderPlugin>(move(stream));
LOADER_TRY(loader->initialize());