diff options
Diffstat (limited to 'Userland/Libraries/LibAudio/Loader.cpp')
-rw-r--r-- | Userland/Libraries/LibAudio/Loader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibAudio/Loader.cpp b/Userland/Libraries/LibAudio/Loader.cpp index 774103ba16..8f0065123b 100644 --- a/Userland/Libraries/LibAudio/Loader.cpp +++ b/Userland/Libraries/LibAudio/Loader.cpp @@ -21,7 +21,7 @@ Loader::Loader(NonnullOwnPtr<LoaderPlugin> plugin) { } -Result<NonnullOwnPtr<LoaderPlugin>, LoaderError> Loader::try_create(StringView path) +Result<NonnullOwnPtr<LoaderPlugin>, LoaderError> Loader::create_plugin(StringView path) { { auto plugin = WavLoaderPlugin::create(path); @@ -44,7 +44,7 @@ Result<NonnullOwnPtr<LoaderPlugin>, LoaderError> Loader::try_create(StringView p return LoaderError { "No loader plugin available" }; } -Result<NonnullOwnPtr<LoaderPlugin>, LoaderError> Loader::try_create(Bytes buffer) +Result<NonnullOwnPtr<LoaderPlugin>, LoaderError> Loader::create_plugin(Bytes buffer) { { auto plugin = WavLoaderPlugin::create(buffer); |