The manual
ginnOS
The reference: libc, the libraries and the kernel
Toggle main menu visibility
Loading...
Searching...
No Matches
ac97.h
Go to the documentation of this file.
1
#pragma once
2
3
/**
4
* @file ac97.h
5
* @brief AC'97 sound output (Intel ICH style controllers, PCI class
6
* 04:01; QEMU -device AC97).
7
*
8
* the controller has two I/O port ranges: the codec mixer (NAM, BAR 0)
9
* and the bus master (NABM, BAR 1). the driver plays 16-bit stereo through
10
* the PCM out channel and registers it with the audio core (/dev/dsp).
11
*/
12
13
#include "
common/stdint.h
"
14
15
/**
16
* find the first AC'97 controller and register it as the sound device.
17
* call after pci_init and apic_init.
18
* @return true if a controller is in use.
19
*/
20
bool
ac97_init
(
void
);
ac97_init
bool ac97_init(void)
find the first AC'97 controller and register it as the sound device.
Definition
ac97.c:258
stdint.h
src
drivers
sound
ac97.h
Generated by
1.18.0