1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 15:45:08 +00:00

Kernel: First cut of a sb16 driver

Also add an AudioServer that (right now) doesn't do much.
It tries to open, parse, and play a wav file. In the future, it can do more.

My general thinking here here is that /dev/audio will be "owned" by AudioServer,
and we'll do mixing in software before passing buffers off to the kernel
to play, but we have to start somewhere.
This commit is contained in:
Robin Burchell 2019-07-12 19:28:01 +02:00 committed by Andreas Kling
parent 6e671f78a8
commit 6c4024c04a
11 changed files with 436 additions and 4 deletions

View file

@ -78,6 +78,7 @@ int main(int, char**)
int highest_prio = sched_get_priority_max(SCHED_OTHER);
start_process("/bin/LookupServer", lowest_prio);
start_process("/bin/WindowServer", highest_prio);
start_process("/bin/AudioServer", highest_prio);
start_process("/bin/Taskbar", highest_prio);
start_process("/bin/Terminal", highest_prio - 1);
start_process("/bin/Launcher", highest_prio);