LibAudio: Replace Result with ErrorOr

Since they are API compatible, this change is very simple.
This commit is contained in:
kleines Filmröllchen 2023-02-17 18:57:10 +01:00 committed by Andrew Kaster
commit 3c65c22728
Notes: sideshowbarker 2024-07-16 23:07:16 +09:00

View file

@ -24,8 +24,8 @@ namespace Audio {
static constexpr StringView no_plugin_error = "No loader plugin available"sv;
using LoaderSamples = Result<FixedArray<Sample>, LoaderError>;
using MaybeLoaderError = Result<void, LoaderError>;
using LoaderSamples = ErrorOr<FixedArray<Sample>, LoaderError>;
using MaybeLoaderError = ErrorOr<void, LoaderError>;
class LoaderPlugin {
public: