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:
subhobhai943 committed 2026-08-16 23:06:53 +05:30
1 parent 5662be29f5
commit d680335f05
64 files changed
+2370 -166

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
#ifndef _SOUND_SOUND_H
#define _SOUND_SOUND_H
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
typedef struct sound_device {
char name[32];
uint32_t sample_rate;
uint8_t channels;
uint8_t bits_per_sample;
int volume;
int (*play_sample)(const void* buffer, size_t length);
int (*set_volume)(int volume);
bool active;
} sound_device_t;
void sound_init(void);
int sound_register_device(sound_device_t* dev);
sound_device_t* sound_get_default_device(void);
#endif // _SOUND_SOUND_H