mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:45:10 +00:00
Kernel: Teach DeviceManagement to handle multiple audio devices
This commit is contained in:
parent
61d77274db
commit
1aafb6cd23
4 changed files with 9 additions and 9 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue