mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-22 14:35:41 +00:00
fix(audio): device-reset false positive + stderr noise + i18n tooltip
- Device watcher requires 3 consecutive misses (~9 s) before triggering audio:device-reset, preventing false positives when ALSA temporarily hides a busy device from output_devices() enumeration - Add stderr suppression to open_stream_for_device_and_rate (last source of ALSA terminal noise on Linux) - Fix tooltip showing raw key 'common.refresh' — replaced with settings.audioOutputDeviceRefresh (added to all 8 locales) - Device switch restarts track from beginning (no seek-back) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -559,7 +559,7 @@ export default function Settings() {
|
||||
className="icon-btn"
|
||||
onClick={refreshAudioDevices}
|
||||
disabled={devicesLoading || deviceSwitching}
|
||||
data-tooltip={t('common.refresh')}
|
||||
data-tooltip={t('settings.audioOutputDeviceRefresh')}
|
||||
>
|
||||
<RotateCcw size={15} className={devicesLoading ? 'spin' : ''} />
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user