feat(player): set right ctrl vol max to mpv's vol max if player==local (#2198)

This commit is contained in:
Simon Slamka
2026-07-16 08:43:43 +03:00
committed by GitHub
parent 5e79e385d9
commit ddd45ad5ba
9 changed files with 106 additions and 21 deletions
+10
View File
@@ -0,0 +1,10 @@
// Defines the volume limits shared by the main and renderer processes.
// The active maximum is resolved from these in the renderer, which owns the
// playback settings that determine it.
// The web-audio backend has no headroom above unity gain, so it stays at 100.
export const DEFAULT_VOLUME_MAX = 100;
// mpv's default --volume-max when the user passes nothing.
export const MPV_VOLUME_MAX_DEFAULT = 130;
// mpv's own hard ceiling for --volume-max.
export const MPV_VOLUME_MAX_CEILING = 1000;