summaryrefslogtreecommitdiff
path: root/frontend/audio_hotplug.h
AgeCommit message (Collapse)Author
2021-07-03Revert "USB headphone detection"neonloop
This reverts commit 960d776dfcd5d2f071107be1ff08b1a16d275a3f. This is now handled in custom SDL, so each emulator doesn't need to handle it.
2021-04-18USB headphone detectionneonloop
This checks for USB hotplugging every 60 times audio is written. This can be adjusted to favor performance vs reacting to hotplugs more quickly. There are some errors that appear when unplugging the headset because it tries to write audio to a device that has disappeared.