mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-22 02:16:39 +02:00
feat(player): right-click volume icon to switch audio output device (#2189)
* feat(player): add right-click audio output device menu to volume icon Right-clicking the volume/speaker icon in the player bar now opens a context menu listing available audio output devices, with the active device checkmarked and a System default reset option. Selecting a device writes to the existing audioDeviceId (web) or mpvAudioDeviceId (mpv) playback settings, so the choice is applied live and persisted across restarts via the settings store. Unlike the settings-page selector, the menu is not disabled during playback. * refactor(player): drop redundant audio menu label, document wrapper div Address review feedback: remove the self-explanatory ContextMenu.Label from the audio output menu, and add a comment explaining why the volume icon is wrapped in a div (Mantine Tooltip does not forward Radix's asChild onContextMenu/ref to the button).
This commit is contained in:
@@ -784,6 +784,7 @@
|
||||
"artistConfiguration_description": "Configure what items are shown, and in what order, on the album artist page",
|
||||
"artistReleaseTypeConfiguration": "Artist release type configuration",
|
||||
"artistReleaseTypeConfiguration_description": "Configure what release types are shown, and in what order, on the album artist page",
|
||||
"audioDeviceDefault": "System default",
|
||||
"audioDevice_description": "Select the audio device to use for playback",
|
||||
"audioDevice": "Audio device",
|
||||
"audioExclusiveMode_description": "Enable exclusive output mode. In this mode, the system is usually locked out, and only mpv will be able to output audio. Visualizer system audio capture will not work while this is enabled",
|
||||
|
||||
Reference in New Issue
Block a user