|
ginnOS
The reference: libc, the libraries and the kernel
|
Intel High Definition Audio output (PCI class 04:03; almost every PC since 2004; QEMU -device intel-hda -device hda-output). More...
#include "common/stdint.h"Go to the source code of this file.
Functions | |
| bool | hda_init (void) |
| find the first HDA controller and register it as the sound device. | |
Intel High Definition Audio output (PCI class 04:03; almost every PC since 2004; QEMU -device intel-hda -device hda-output).
the driver resets the controller, finds the codecs, and in the first codec with an analog output it sets up a path from a converter (DAC) to each connected output pin: line out, speakers and headphones. one output stream feeds all of them. it registers with the audio core (/dev/dsp).
| bool hda_init | ( | void | ) |
find the first HDA controller and register it as the sound device.
call after pci_init and apic_init.