mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-26 09:02:46 +00:00
feat: Massive OS expansion with IPC, Sound & TTS, Block layer, FAT32/ext2/sysfs, Signals, Syscalls, Modules, Drivers & 50+ LazyBox applets
This commit is contained in:
1 parent
5662be29f5
commit
d680335f05
64 files changed
+2370
-166
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#ifndef _SOUND_AC97_H
|
||||
#define _SOUND_AC97_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#define AC97_PCI_VENDOR 0x8086
|
||||
#define AC97_PCI_DEVICE 0x2415 // Intel 82801AA AC'97 Audio
|
||||
|
||||
bool ac97_init(void);
|
||||
void ac97_set_master_volume(uint8_t left, uint8_t right);
|
||||
int ac97_play_pcm(const void* samples, size_t length);
|
||||
|
||||
#endif // _SOUND_AC97_H
|
||||
Reference in new issue
Block a user