From b06d352d14d9d917ff23288dd6a9433e4e75f7df Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 20 May 2020 01:19:55 +0900 Subject: KMix: 1) added direct DCOP access to the user selected mixer/device channel used as master. 2) fixed bug with volume update 3) unlinked global keyboard shortcuts for volume control to avoid clashing with kmilo. A user can still link them manually if needed. Signed-off-by: Michele Calgaro --- kmix/mixerIface.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kmix/mixerIface.h') diff --git a/kmix/mixerIface.h b/kmix/mixerIface.h index ef8bbbf5..10386cdb 100644 --- a/kmix/mixerIface.h +++ b/kmix/mixerIface.h @@ -20,13 +20,13 @@ k_dcop: virtual void setMasterVolume( int percentage )=0; /** - Increase the volume of the given device by a 5% . + Increase the volume of the given device by a given percentage. */ - virtual void increaseVolume( int deviceidx )=0; + virtual void increaseVolume( int deviceidx, int percentage )=0; /** - Decrease the volume of the given device by a 5% . + Decrease the volume of the given device by a a given percentage. */ - virtual void decreaseVolume( int deviceidx )=0; + virtual void decreaseVolume( int deviceidx, int percentage )=0; /** Returns the volume of the device (as a percentage, 0..100). -- cgit v1.2.1