mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Kernel: Teach DeviceManagement to handle multiple audio devices
This commit is contained in:
parent
61d77274db
commit
1aafb6cd23
Notes:
sideshowbarker
2024-07-18 00:50:01 +09:00
Author: https://github.com/gmta
Commit: 1aafb6cd23
Pull-request: https://github.com/SerenityOS/serenity/pull/11028
4 changed files with 9 additions and 9 deletions
|
@ -22,9 +22,9 @@ UNMAP_AFTER_INIT void DeviceManagement::initialize()
|
|||
s_the.ensure_instance();
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT void DeviceManagement::attach_sb16_device(SB16 const& device)
|
||||
UNMAP_AFTER_INIT void DeviceManagement::attach_audio_device(CharacterDevice const& device)
|
||||
{
|
||||
m_sb16_device = device;
|
||||
m_audio_devices.append(device);
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT void DeviceManagement::attach_console_device(ConsoleDevice const& device)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue