diff options
Diffstat (limited to 'player')
-rw-r--r-- | player/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/player/command.c b/player/command.c index ee025f354a..e044e3320a 100644 --- a/player/command.c +++ b/player/command.c @@ -1480,11 +1480,11 @@ static int mp_property_volume(void *ctx, struct m_property *prop, .type = CONF_TYPE_FLOAT, .flags = M_OPT_RANGE, .min = 0, - .max = 100, + .max = mixer_getmaxvolume(mpctx->mixer), }; return M_PROPERTY_OK; case M_PROPERTY_GET_NEUTRAL: - *(float *)arg = mixer_getneutralvolume(mpctx->mixer); + *(float *)arg = 100; return M_PROPERTY_OK; case M_PROPERTY_PRINT: { float val; |