mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-21 18:06:30 +02:00
96b71ad0be
An unset audio device id means "follow the system default" (setSinkId is skipped and mpv uses audio-device=auto), but the Audio device select in the player settings popover and the playback settings page rendered blank in that state. Make both selects controlled and fall back to the enumerated default entry (browser 'default' / mpv 'auto') so the device actually in use is always displayed. The stored setting stays unset, so playback keeps following the OS default until a device is explicitly chosen; clearing the select returns to the default entry instead of going blank.