Add device validation before using saved audio device

- Validate device has supported output configs before using
- Fall back to default if saved device is invalid
- Reduces polling frequency to 10 seconds
This commit is contained in:
vicrodh committed 2026-01-11 11:10:02 -06:00
1 parent f6b2b07f5d
commit 3fd3d25bdc
2 files changed
+25 -6

No files matched your search

+2 -2
View File
@@ -61,8 +61,8 @@
onMount(() => {
loadStatus();
// Poll for updates while playing
const interval = setInterval(loadStatus, 5000);
// Poll less frequently - only needed to detect settings changes
const interval = setInterval(loadStatus, 10000);
return () => clearInterval(interval);
});
</script>