mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Kernel: Teach DeviceManagement to handle multiple audio devices
This commit is contained in:
committed by
Andreas Kling
parent
61d77274db
commit
1aafb6cd23
@@ -318,9 +318,7 @@ void init_stage2(void*)
|
||||
(void)RandomDevice::must_create().leak_ref();
|
||||
PTYMultiplexer::initialize();
|
||||
|
||||
// FIXME: Once we have a singleton for managing many sound cards, remove this from here
|
||||
if (auto device = SB16::try_detect_and_create(); !!device)
|
||||
DeviceManagement::the().attach_sb16_device(*device);
|
||||
SB16::try_detect_and_create();
|
||||
|
||||
StorageManagement::the().initialize(kernel_command_line().root_device(), kernel_command_line().is_force_pio());
|
||||
if (VirtualFileSystem::the().mount_root(StorageManagement::the().root_filesystem()).is_error()) {
|
||||
|
||||
Reference in New Issue
Block a user