feat: audio - add concurrent mixing, output switching, and device-aware UI

This commit is contained in:
daniel committed 2026-07-29 20:03:35 +01:00
1 parent d99dab45e5
commit 86de3400a9
25 files changed
+688 -209

No files matched your search

-6
View File
@@ -24,7 +24,6 @@
#include <Api/Heap.hpp>
#include <Api/LibSyscall.hpp>
#include <Drivers/Audio/Mixer.hpp>
#include <Drivers/USB/Bluetooth/A2dp.hpp>
#include <Drivers/Graphics/IntelGPU.hpp>
#include <Ipc/Ipc.hpp>
@@ -1241,11 +1240,6 @@ namespace Sched {
// and its ring buffer don't leak when an app forgets to audio_close.
Drivers::Audio::Mixer::CleanupProcess(exitingPid);
// Release the Bluetooth A2DP output if this process owned it, so a
// killed app cannot leave the output claimed forever (no-op when the
// process was not the owner).
Drivers::USB::Bluetooth::A2dp::ReleaseOutput(exitingPid);
// Restore scanout to buffer 0 if the exiting process owned page
// flips, so the next fullscreen client and the kernel terminal are
// never stranded on the invisible buffer (no-op for non-owners).