From 9ab5ab69286a6d06979d8a6e4395512b322eeafb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Thu, 20 Jul 2023 13:20:34 +0200 Subject: Change volume in finer steps --- nncmpp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nncmpp.c') diff --git a/nncmpp.c b/nncmpp.c index db30cd2..0d9578a 100644 --- a/nncmpp.c +++ b/nncmpp.c @@ -2619,12 +2619,12 @@ app_process_action (enum action action) case ACTION_MPD_CONSUME: return app_mpd_toggle ("consume"); case ACTION_MPD_UPDATE_DB: return MPD_SIMPLE ("update"); - case ACTION_MPD_VOLUME_UP: return app_setvol (g.volume + 10); - case ACTION_MPD_VOLUME_DOWN: return app_setvol (g.volume - 10); + case ACTION_MPD_VOLUME_UP: return app_setvol (g.volume + 5); + case ACTION_MPD_VOLUME_DOWN: return app_setvol (g.volume - 5); #ifdef WITH_PULSE - case ACTION_PULSE_VOLUME_UP: return pulse_volume_set (&g.pulse, +10); - case ACTION_PULSE_VOLUME_DOWN: return pulse_volume_set (&g.pulse, -10); + case ACTION_PULSE_VOLUME_UP: return pulse_volume_set (&g.pulse, +5); + case ACTION_PULSE_VOLUME_DOWN: return pulse_volume_set (&g.pulse, -5); case ACTION_PULSE_MUTE: return pulse_volume_mute (&g.pulse); #endif // WITH_PULSE -- cgit v1.2.3