summaryrefslogtreecommitdiffstats
path: root/kmix/mixerIface.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-05-20 01:19:55 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-05-25 13:24:33 +0900
commitb06d352d14d9d917ff23288dd6a9433e4e75f7df (patch)
tree5518cf17eab0c4d4f3d76e02c610deccbea63339 /kmix/mixerIface.h
parentc0249fdb66a93f3fd3b413f8c05d455f05ae8cdb (diff)
downloadtdemultimedia-b06d352d14d9d917ff23288dd6a9433e4e75f7df.tar.gz
tdemultimedia-b06d352d14d9d917ff23288dd6a9433e4e75f7df.zip
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 <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmix/mixerIface.h')
-rw-r--r--kmix/mixerIface.h8
1 files changed, 4 insertions, 4 deletions
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).