Differentiate DAC Passthrough tooltip from ALSA Direct bit-perfect
DAC badge tooltip now says "Active" instead of "Bit-perfect" since PipeWire passthrough is best-effort, not guaranteed bit-perfect like ALSA Direct hw:X,Y. Added a brief note in Settings when DAC Passthrough is enabled clarifying the distinction. Also i18n'd the hardcoded dacPassthroughTooltipOverride string in SettingsView.
This commit is contained in:
1 parent
be56ecff90
commit
a237be3a83
6 files changed
+19
-8
No files matched your search
@@ -318,7 +318,7 @@
|
||||
<br><span class="setting-help">{$t('audioBadges.resamplingFix')}</span>
|
||||
{/if}
|
||||
{:else if dacBadgeState === 'active'}
|
||||
✓ {$t('audioBadges.dacBitPerfect')}
|
||||
✓ {$t('audioBadges.dacPassthroughActive')}
|
||||
{#if hardwareStatus?.hardware_sample_rate}
|
||||
<br><span class="setting-detail">{$t('audioBadges.kHzNative', { values: { rate: (hardwareStatus.hardware_sample_rate / 1000).toFixed(1) } })}</span>
|
||||
{/if}
|
||||
|
||||
@@ -585,9 +585,9 @@
|
||||
: null
|
||||
);
|
||||
let dacPassthroughDisabled = $derived(selectedBackend !== 'PipeWire');
|
||||
let dacPassthroughTooltipOverride = $derived(
|
||||
let dacPassthroughTooltipOverrideKey = $derived(
|
||||
dacPassthroughDisabled
|
||||
? 'DAC Passthrough uses pw-metadata to force PipeWire sample rates. It is only compatible with the PipeWire backend.'
|
||||
? 'settings.audio.dacPassthroughDisabledDesc'
|
||||
: null
|
||||
);
|
||||
let gaplessDisabled = $derived(dacPassthrough);
|
||||
@@ -2339,10 +2339,13 @@
|
||||
<div class="setting-row">
|
||||
<div class="setting-info">
|
||||
<span class="setting-label">{$t('settings.audio.dacPassthrough')}</span>
|
||||
<span class="setting-desc">{dacPassthroughTooltipOverride ?? $t('settings.audio.dacPassthroughDesc')}</span>
|
||||
<span class="setting-desc">{dacPassthroughTooltipOverrideKey ? $t(dacPassthroughTooltipOverrideKey) : $t('settings.audio.dacPassthroughDesc')}</span>
|
||||
</div>
|
||||
<Toggle enabled={dacPassthrough} onchange={handleDacPassthroughChange} disabled={dacPassthroughDisabled} />
|
||||
</div>
|
||||
{#if dacPassthrough}
|
||||
<small class="setting-note">{$t('settings.audio.dacPassthroughNote')}</small>
|
||||
{/if}
|
||||
{#if isFlatpak && selectedBackend === 'PipeWire' && dacPassthrough}
|
||||
<div class="flatpak-warning">
|
||||
<div class="warning-icon">⚠️</div>
|
||||
|
||||
@@ -406,7 +406,7 @@
|
||||
"resamplingError": "FEHLER: PipeWire führt Resampling durch",
|
||||
"resamplingDetail": "Datei: {trackRate} kHz → Hardware: {hwRate} kHz",
|
||||
"resamplingFix": "Lösung: PipeWire-Abtastratenumschaltung konfigurieren",
|
||||
"dacBitPerfect": "DAC-Passthrough: Bit-perfect",
|
||||
"dacPassthroughActive": "DAC-Passthrough: Aktiv",
|
||||
"dacDisabled": "DAC-Passthrough: Deaktiviert",
|
||||
"exclusiveMode": "Exklusivmodus"
|
||||
},
|
||||
@@ -494,6 +494,8 @@
|
||||
"exclusiveModeNotAvailable": "Der Exklusivmodus ist nur mit dem ALSA-Direct-Backend verfügbar. PipeWire und PulseAudio sind gemultiplexte Audio-Server und können keinen echten exklusiven Zugriff bieten.",
|
||||
"dacPassthrough": "DAC-Passthrough",
|
||||
"dacPassthroughDesc": "Systemmixer umgehen für bitperfekte Ausgabe",
|
||||
"dacPassthroughNote": "Bezieht sich auf den dekodierten Audio-Inhalt. DAC-Anzeigen zeigen möglicherweise das Transportformat, nicht die Inhaltsauflösung.",
|
||||
"dacPassthroughDisabledDesc": "DAC-Passthrough verwendet pw-metadata, um PipeWire-Abtastraten zu erzwingen. Es ist nur mit dem PipeWire-Backend kompatibel.",
|
||||
"dacPassthroughExtendedDesc": "Wenn aktiviert, überschreibt es die obige Qualitätseinstellung, wenn Ihr Audiogerät die gewählte Abtastrate nicht unterstützt. Verhindert Resampling, um eine bitperfekte Wiedergabe zu gewährleisten.",
|
||||
"audioBackend": "Audio-Backend",
|
||||
"audioBackendDesc": "Wähle Audiosystem: Auto (empfohlen), PipeWire (modern), ALSA Direct (bitperfekt, exklusiv) oder PulseAudio (veraltet).",
|
||||
|
||||
@@ -420,7 +420,7 @@
|
||||
"resamplingError": "ERROR: PipeWire is resampling",
|
||||
"resamplingDetail": "File: {trackRate} kHz → Hardware: {hwRate} kHz",
|
||||
"resamplingFix": "Fix: Configure PipeWire sample rate switching",
|
||||
"dacBitPerfect": "DAC Passthrough: Bit-perfect",
|
||||
"dacPassthroughActive": "DAC Passthrough: Active",
|
||||
"dacDisabled": "DAC Passthrough: Disabled",
|
||||
"exclusiveMode": "Exclusive Mode"
|
||||
},
|
||||
@@ -510,6 +510,8 @@
|
||||
"exclusiveModeNotAvailable": "Exclusive mode is only available with ALSA Direct backend. PipeWire and PulseAudio are multiplexed audio servers and cannot provide true exclusive access.",
|
||||
"dacPassthrough": "DAC Passthrough",
|
||||
"dacPassthroughDesc": "Bypass system mixer for bit-perfect output",
|
||||
"dacPassthroughNote": "Refers to decoded audio content. DAC displays may show transport format, not content resolution.",
|
||||
"dacPassthroughDisabledDesc": "DAC Passthrough uses pw-metadata to force PipeWire sample rates. It is only compatible with the PipeWire backend.",
|
||||
"dacPassthroughExtendedDesc": "When enabled, overrides the quality setting above if your audio device doesn't support the selected sample rate. Prevents resampling to guarantee bit-perfect playback.",
|
||||
"audioBackend": "Audio Backend",
|
||||
"audioBackendDesc": "Choose audio system: Auto (recommended), PipeWire (modern), ALSA Direct (bit-perfect, exclusive), or PulseAudio (legacy).",
|
||||
|
||||
@@ -420,7 +420,7 @@
|
||||
"resamplingError": "ERROR: PipeWire está resampleando",
|
||||
"resamplingDetail": "Archivo: {trackRate} kHz → Hardware: {hwRate} kHz",
|
||||
"resamplingFix": "Solución: Configura el cambio de sample rate en PipeWire",
|
||||
"dacBitPerfect": "Passthrough DAC: Bit-perfect",
|
||||
"dacPassthroughActive": "Passthrough DAC: Activo",
|
||||
"dacDisabled": "Passthrough DAC: Desactivado",
|
||||
"exclusiveMode": "Modo Exclusivo"
|
||||
},
|
||||
@@ -510,6 +510,8 @@
|
||||
"exclusiveModeNotAvailable": "El modo exclusivo solo está disponible con ALSA Direct. PipeWire y PulseAudio son servidores de audio multiplexados y no pueden proporcionar acceso exclusivo real.",
|
||||
"dacPassthrough": "Passthrough DAC",
|
||||
"dacPassthroughDesc": "Bypass del mixer del sistema para salida bit-perfect",
|
||||
"dacPassthroughNote": "Se refiere al contenido de audio decodificado. Las pantallas del DAC pueden mostrar el formato de transporte, no la resolución del contenido.",
|
||||
"dacPassthroughDisabledDesc": "DAC Passthrough usa pw-metadata para forzar las tasas de muestreo de PipeWire. Solo es compatible con el backend PipeWire.",
|
||||
"dacPassthroughExtendedDesc": "Cuando está habilitado, anula la configuración de calidad anterior si tu dispositivo de audio no soporta la tasa de muestreo seleccionada. Previene el remuestreo para garantizar reproducción bit-perfect.",
|
||||
"audioBackend": "Backend de Audio",
|
||||
"audioBackendDesc": "Elige el sistema de audio: Auto (recomendado), PipeWire (moderno), ALSA Direct (bit-perfect, exclusivo), o PulseAudio (legado).",
|
||||
|
||||
@@ -406,7 +406,7 @@
|
||||
"resamplingError": "ERREUR : PipeWire effectue un rééchantillonnage",
|
||||
"resamplingDetail": "Fichier : {trackRate} kHz → Hardware : {hwRate} kHz",
|
||||
"resamplingFix": "Solution : Configurer le changement de taux d'échantillonnage PipeWire",
|
||||
"dacBitPerfect": "Passthrough DAC : Bit-perfect",
|
||||
"dacPassthroughActive": "Passthrough DAC : Actif",
|
||||
"dacDisabled": "Passthrough DAC : Désactivé",
|
||||
"exclusiveMode": "Mode exclusif"
|
||||
},
|
||||
@@ -494,6 +494,8 @@
|
||||
"exclusiveModeNotAvailable": "Le mode exclusif n'est disponible qu'avec le backend ALSA Direct. PipeWire et PulseAudio sont des serveurs audio multiplexés et ne peuvent pas fournir un accès exclusif véritable.",
|
||||
"dacPassthrough": "Passthrough DAC",
|
||||
"dacPassthroughDesc": "Contourner le mixeur système pour une sortie bit-perfect",
|
||||
"dacPassthroughNote": "Concerne le contenu audio décodé. Les affichages du DAC peuvent montrer le format de transport, pas la résolution du contenu.",
|
||||
"dacPassthroughDisabledDesc": "Le Passthrough DAC utilise pw-metadata pour forcer les taux d'échantillonnage PipeWire. Il n'est compatible qu'avec le backend PipeWire.",
|
||||
"dacPassthroughExtendedDesc": "Lorsqu'il est activé, remplace le paramètre de qualité ci-dessus si votre périphérique audio ne prend pas en charge la fréquence d'échantillonnage sélectionnée. Empêche le rééchantillonnage pour garantir une lecture bit-perfect.",
|
||||
"audioBackend": "Backend audio",
|
||||
"audioBackendDesc": "Choisissez le système audio : Auto (recommandé), PipeWire (moderne), ALSA Direct (bit-perfect, exclusif) ou PulseAudio (ancien).",
|
||||
|
||||
Reference in new issue
Block a user