mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-22 18:36:34 +02:00
feat(player): set right ctrl vol max to mpv's vol max if player==local (#2198)
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user