The manual
ginnOS
The reference: libc, the libraries and the kernel
Toggle main menu visibility
Loading...
Searching...
No Matches
hda.h
Go to the documentation of this file.
1
#pragma once
2
3
/**
4
* @file hda.h
5
* @brief Intel High Definition Audio output (PCI class 04:03; almost every
6
* PC since 2004; QEMU -device intel-hda -device hda-output).
7
*
8
* the driver resets the controller, finds the codecs, and in the first
9
* codec with an analog output it sets up a path from a converter (DAC) to
10
* each connected output pin: line out, speakers and headphones. one output
11
* stream feeds all of them. it registers with the audio core (/dev/dsp).
12
*/
13
14
#include "
common/stdint.h
"
15
16
/**
17
* find the first HDA controller and register it as the sound device.
18
* call after pci_init and apic_init.
19
* @return true if a controller is in use.
20
*/
21
bool
hda_init
(
void
);
stdint.h
hda_init
bool hda_init(void)
find the first HDA controller and register it as the sound device.
Definition
hda.c:790
src
drivers
sound
hda.h
Generated by
1.18.0