mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-12 11:31:08 +00:00
Two bursts (8 ms) of buffer with a write per burst left the client's menu sounds choppy on device: the daemon runs under proot, where every system call is traced. The buffer now starts at four bursts or 30 ms, whichever is more, each write hands over half of it, the IO thread asks for nice -16 like Android's own audio threads, and the log says how big the buffer is and how many underruns the device counted.