1 |
philantrop 07/11/20 12:46:29 |
2 |
|
3 |
Added: kmix-3.5.8-198015_XF86Audio.patch |
4 |
digest-kmix-3.5.8-r1 |
5 |
Log: |
6 |
Added a patch to fix a problem with the XF86Audio* key handlers not working when there's no master channel (e. g. you have a mute key that stopped working in KDE). Fixes bug 198015. Thanks to Kelvie Wong for creating and submitting said patch. |
7 |
(Portage version: 2.1.3.19) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 kde-base/kmix/files/kmix-3.5.8-198015_XF86Audio.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kmix/files/kmix-3.5.8-198015_XF86Audio.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kmix/files/kmix-3.5.8-198015_XF86Audio.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: kmix-3.5.8-198015_XF86Audio.patch |
16 |
=================================================================== |
17 |
>From efbae8873fc7b2ffe366353a1bcd9623cf4975a3 Mon Sep 17 00:00:00 2001 |
18 |
From: Kelvie Wong <kelvie@××××.org> |
19 |
Date: Sat, 3 Nov 2007 21:39:49 -0700 |
20 |
Subject: [PATCH] Added a masterDeviceIndex dcop call that returns the device index of the master channel |
21 |
|
22 |
--- |
23 |
kmix/mixer.cpp | 5 +++++ |
24 |
kmix/mixer.h | 1 + |
25 |
kmix/mixerIface.h | 5 +++++ |
26 |
3 files changed, 11 insertions(+), 0 deletions(-) |
27 |
|
28 |
diff --git a/kmix/mixer.cpp b/kmix/mixer.cpp |
29 |
index 2adb300..316625e 100644 |
30 |
--- a/kmix/mixer.cpp |
31 |
+++ b/kmix/mixer.cpp |
32 |
@@ -730,6 +730,11 @@ bool Mixer::masterMute() |
33 |
return true; |
34 |
} |
35 |
|
36 |
+// @dcop only |
37 |
+int Mixer::masterDeviceIndex() |
38 |
+{ |
39 |
+ return masterDevice()->num(); |
40 |
+} |
41 |
|
42 |
bool Mixer::isRecordSource( int deviceidx ) |
43 |
{ |
44 |
diff --git a/kmix/mixer.h b/kmix/mixer.h |
45 |
index 14c8a65..b6d0917 100644 |
46 |
--- a/kmix/mixer.h |
47 |
+++ b/kmix/mixer.h |
48 |
@@ -123,6 +123,7 @@ class Mixer : public QObject, virtual public MixerIface |
49 |
virtual long absoluteVolumeMax( int deviceidx ); |
50 |
virtual int volume( int deviceidx ); |
51 |
virtual int masterVolume(); |
52 |
+ virtual int masterDeviceIndex(); |
53 |
|
54 |
virtual void setMute( int deviceidx, bool on ); |
55 |
virtual void setMasterMute( bool on ); |
56 |
diff --git a/kmix/mixerIface.h b/kmix/mixerIface.h |
57 |
index b2aafb2..6c8da9f 100644 |
58 |
--- a/kmix/mixerIface.h |
59 |
+++ b/kmix/mixerIface.h |
60 |
@@ -85,6 +85,11 @@ k_dcop: |
61 |
virtual bool masterMute()=0; |
62 |
|
63 |
/** |
64 |
+ Returns the index of the master device |
65 |
+ */ |
66 |
+ virtual int masterDeviceIndex()=0; |
67 |
+ |
68 |
+ /** |
69 |
Makes the given device a record source. |
70 |
*/ |
71 |
virtual void setRecordSource( int deviceidx, bool on )=0; |
72 |
-- |
73 |
1.5.3.4 |
74 |
|
75 |
|
76 |
|
77 |
|
78 |
1.1 kde-base/kmix/files/digest-kmix-3.5.8-r1 |
79 |
|
80 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kmix/files/digest-kmix-3.5.8-r1?rev=1.1&view=markup |
81 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kmix/files/digest-kmix-3.5.8-r1?rev=1.1&content-type=text/plain |
82 |
|
83 |
Index: digest-kmix-3.5.8-r1 |
84 |
=================================================================== |
85 |
MD5 9f3c95231ea265b09f3010adb954ae30 kdemultimedia-3.5.8.tar.bz2 6316739 |
86 |
RMD160 5fcb8d282e2d49baca4daa9fb4e24b5216df92ee kdemultimedia-3.5.8.tar.bz2 6316739 |
87 |
SHA256 07fc79e38bd7d50a8e2b9910a5d78ef565557b2a746b31d5d440829e9f05b0c1 kdemultimedia-3.5.8.tar.bz2 6316739 |
88 |
|
89 |
|
90 |
|
91 |
-- |
92 |
gentoo-commits@g.o mailing list |