fix: DAC badge now activates based on setting alone
Remove isExternal requirement for DAC Passthrough badge activation. The badge now lights up when DAC Passthrough setting is enabled, regardless of whether the device is detected as external or internal. This fixes the issue where the badge would remain off even when DAC passthrough was working (confirmed by 192kHz reaching hardware).
This commit is contained in:
1 parent
791ff7a73b
commit
09881856d0
1 file changed
+2
-2
@@ -59,9 +59,9 @@
|
|||||||
|
|
||||||
const isExternal = $derived(currentDevice ? isExternalDevice(currentDevice) : false);
|
const isExternal = $derived(currentDevice ? isExternalDevice(currentDevice) : false);
|
||||||
|
|
||||||
// Badge states - based on settings AND actual device capability
|
// Badge states - based on settings
|
||||||
const dacPassthroughActive = $derived(
|
const dacPassthroughActive = $derived(
|
||||||
settings?.dac_passthrough === true && isExternal
|
settings?.dac_passthrough === true
|
||||||
);
|
);
|
||||||
const exclusiveModeActive = $derived(
|
const exclusiveModeActive = $derived(
|
||||||
settings?.exclusive_mode === true
|
settings?.exclusive_mode === true
|
||||||
|
|||||||
Reference in new issue
Block a user