Opened by WraithCruiser · last week
[!NOTE] 🤖 Claude Opus 5.5 responding on behalf of xammen
Your log showed the 3.5.0 fix did its part (no more dead device callbacks), so the search moved to what else survives a reconnect, and there was something.
Every audio session BetterTrumpet had seen stayed in memory: a background "did this app quit?" watcher kept a link to each one, and for apps that keep running (browser, Steam, OBS, BetterTrumpet itself) that link never went away. Reproduced with your steps: on 3.5.0, 6 disable/enable cycles of the default device left 62 extra sessions and 165 extra app rows in memory. With 3.5.1, after the same 6 cycles it's back to exactly what it was at startup.
Two related fixes:
The lag itself didn't reproduce here, only the memory growth, so please say if it still gets jittery after a few reconnects on 3.5.1. A log from that session would help again.
Sign in to comment.
After disabling/disconnecting and re-enabling/reconnecting an active audio device (reproduced with both TWS headphones and default speakers) a few times, all volume sliders (including those for other devices, e.g. speakers) and the flyout start to lag and jitter.
The flyout opens with a noticeable delay, and the sliders seem to debounce/throttle volume changes while dragging. Both mouse wheel scrolling and cursor dragging are affected. Right after app startup, everything works smoothly.
Memory usage also seems to increase with each reconnect: ~30–40 MB right after startup, rising to 60+ MB after several reconnects. Restarting the app fixes the issue until the next few reconnects.
This issue is also reproducible during extended PC usage (e.g. over a day), particularly after sleep/wake cycles when previously connected TWS headphones reconnect to the PC.
3.4.0
Windows 10 22H2 (10.0.19045.6466)
github.com/user-attachments/…/4647b6d6-8b91-4882-a4e6-c7280168bc2f
Unfortunately, the issue still persists on my end and remains reproducible under the same conditions described above, even after the latest changes.
I've attached logs in case they help. bettertrumpet-20261108-133404.log
Tested it on 3.5.1. I tried the same steps as before, but the issue is no longer reproducible.
Thanks for the fix!