1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:47:46 +00:00
serenity/Kernel/Devices/Audio/IntelHDA
Liav A 4921561687 Kernel/Audio: Simplify initialization sequence for drivers
Instead of enumerating all available controllers and then ask each to
find its audio channels, we change the initialization sequence to match
what happens in the Networking subsystem and Graphics subsystem - we
essentially probe for a matching driver on a PCI device, create a device
instance, and immediately initialize it.

This in fact allows us to immediately find any hardware initialization
issues and report it, and then dropping the created instance, as usually
being done in other initialization paths in the Kernel.

This also opens the opportunity to propagate errors when failed to
initialize an AudioChannel instance, and it will be addressed in a
future commit.
2023-04-14 19:23:12 +02:00
..
Codec.cpp Kernel: Add support for Intel HDA 2023-03-25 21:27:03 +01:00
Codec.h Kernel: Add support for Intel HDA 2023-03-25 21:27:03 +01:00
Controller.cpp Kernel/Audio: Simplify initialization sequence for drivers 2023-04-14 19:23:12 +02:00
Controller.h Kernel/Audio: Simplify initialization sequence for drivers 2023-04-14 19:23:12 +02:00
Format.cpp Kernel: Add support for Intel HDA 2023-03-25 21:27:03 +01:00
Format.h Kernel: Add support for Intel HDA 2023-03-25 21:27:03 +01:00
OutputPath.h Kernel: Add support for Intel HDA 2023-03-25 21:27:03 +01:00
RingBuffer.h Kernel: Add support for Intel HDA 2023-03-25 21:27:03 +01:00
Stream.cpp Kernel: Add support for Intel HDA 2023-03-25 21:27:03 +01:00
Stream.h Kernel: Add support for Intel HDA 2023-03-25 21:27:03 +01:00
Timing.h Kernel: Add support for Intel HDA 2023-03-25 21:27:03 +01:00