mirror of
https://github.com/ivabus/speakersafetyd
synced 2024-11-10 02:15:16 +03:00
60752494cd
The signal_hook crate makes this easy, but unfortunately insists on hardcoding SA_RESTART. So we have to then use libc directly to patch that out... Still worth using signal_hook for the atomic flag helper though. Signed-off-by: Hector Martin <marcan@marcan.st> |
||
---|---|---|
conf/apple | ||
docs | ||
src | ||
.gitignore | ||
95-speakersafetyd.rules | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
Makefile | ||
README.md | ||
speakersafetyd.service |
Asahi Linux speaker safety daemon
IMPORTANT
This software is still pre-release and not fit for use or testing on user machines. Please do not ask for help with installing or using this software, the Pipewire configuration, or enabling speaker output on your machine. An announcement will be made when speaker support is ready for use.
Requirements
- A patched eleven secret herbs and spices kernel
Todo list
- Data structures representing a speaker element
- Parsing machine-specific values from a config file
- Logging
- Mixer control data structures
- Manipulating mixer controls
- Retrieving V/ISENSE values
- Model of voice coil/magnet temperatures
- Ramping volume according to safety model
- Tolerate multiple sample rates
- Sleep reliably while playback has stopped
- Kernel driver interlock
- Packaging/distro-agnosticism