diff options
Diffstat (limited to 'Kernel/Devices/Audio/Channel.h')
-rw-r--r-- | Kernel/Devices/Audio/Channel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/Audio/Channel.h b/Kernel/Devices/Audio/Channel.h index 7106bd9ae2..188264a8de 100644 --- a/Kernel/Devices/Audio/Channel.h +++ b/Kernel/Devices/Audio/Channel.h @@ -20,7 +20,7 @@ class AudioChannel final friend class DeviceManagement; public: - static NonnullLockRefPtr<AudioChannel> must_create(AudioController const&, size_t channel_index); + static ErrorOr<NonnullRefPtr<AudioChannel>> create(AudioController const&, size_t channel_index); virtual ~AudioChannel() override = default; // ^CharacterDevice |