3 ms·
It's managed by the Linux kernel communicating with a user space daemon (speakersafetyd). If the user land crashes or if the user space daemon is too slow the k
by kccqzy 2y ago
It's managed by the Linux kernel communicating with a user space daemon (speakersafetyd). If the user land crashes or if the user space daemon is too slow the kernel can still fall back to a ridiculously low limit that will not damage the speakers for any audio. If the kernel crashes, well you get no audio in that case. IIRC the reason they couldn't do it completely in the kernel was because the temperature model uses floating point which is not allowed in the kernel.
- userbinator 2y agoIf the kernel crashes, well you get no audio in that case. More likely to be repeating audio, whatever was last in the buffer.
- wbl 2y agoA floating to fixed conversion is possible but would take some painstaking numerical analysis.