!17 Solve the problem of dragging the slider to adjust the microphone volume
From: @tanyulong2021 Reviewed-by: @dou33 Signed-off-by: @dou33
This commit is contained in:
commit
da7e4522be
42
0006-fix-the-slider-to-adjust-the-microphone-volume.patch
Normal file
42
0006-fix-the-slider-to-adjust-the-microphone-volume.patch
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
From 5fa785ef7b49d10edcd1c48e943bd74a6c2aa475 Mon Sep 17 00:00:00 2001
|
||||||
|
From: tanyulong <tanyulong@kylinos.cn>
|
||||||
|
Date: Mon, 12 Jul 2021 17:03:29 +0800
|
||||||
|
Subject: [PATCH] fix the slider to adjust the microphone volume
|
||||||
|
|
||||||
|
---
|
||||||
|
.../ukmedia_device_switch_widget.cpp | 12 +++++++++++-
|
||||||
|
1 file changed, 11 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/ukui-volume-control-applet-qt/ukmedia_device_switch_widget.cpp b/ukui-volume-control-applet-qt/ukmedia_device_switch_widget.cpp
|
||||||
|
index 3a262a3..b8dc5f5 100755
|
||||||
|
--- a/ukui-volume-control-applet-qt/ukmedia_device_switch_widget.cpp
|
||||||
|
+++ b/ukui-volume-control-applet-qt/ukmedia_device_switch_widget.cpp
|
||||||
|
@@ -1416,6 +1416,15 @@ void DeviceSwitchWidget::add_stream (DeviceSwitchWidget *w, MateMixerStream *str
|
||||||
|
MateMixerStreamControl *c = mate_mixer_stream_get_default_control(stream);
|
||||||
|
update_input_settings (w,c);
|
||||||
|
}
|
||||||
|
+ else {
|
||||||
|
+ mate_mixer_context_set_default_input_stream(w->context,stream);
|
||||||
|
+ qDebug() << "add stream set input stream 1" << mate_mixer_stream_get_name(stream);
|
||||||
|
+ bar_set_stream (w, stream);
|
||||||
|
+ name = mate_mixer_stream_get_name (stream);
|
||||||
|
+ label = mate_mixer_stream_get_label (stream);
|
||||||
|
+ qDebug() << "add stream set input stream" << name;
|
||||||
|
+ w->input_stream_list->append(name);
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
else if (direction == MATE_MIXER_DIRECTION_OUTPUT) {
|
||||||
|
MateMixerStream *output;
|
||||||
|
@@ -2441,7 +2450,8 @@ void DeviceSwitchWidget::update_icon_input (DeviceSwitchWidget *w,MateMixerStrea
|
||||||
|
* control for the icon */
|
||||||
|
control = input;
|
||||||
|
}
|
||||||
|
- show = TRUE;
|
||||||
|
+ //show = true;
|
||||||
|
+
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: ukui-media
|
Name: ukui-media
|
||||||
Version: 3.0.2
|
Version: 3.0.2
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: UKUI media utilities
|
Summary: UKUI media utilities
|
||||||
License: GPL-2+ GPL-3+ LGPL-2+ BSD-3-Clause
|
License: GPL-2+ GPL-3+ LGPL-2+ BSD-3-Clause
|
||||||
URL: http://www.ukui.org
|
URL: http://www.ukui.org
|
||||||
@ -37,6 +37,7 @@ patch1: 0002-Fix-the-right-menu-without-frosted-glass-issue.patch
|
|||||||
patch2: 0003-Add-a-detection-mechanism-when-PulseAudio-exits-abno.patch
|
patch2: 0003-Add-a-detection-mechanism-when-PulseAudio-exits-abno.patch
|
||||||
patch3: 0004-update-gsetting.patch
|
patch3: 0004-update-gsetting.patch
|
||||||
patch4: 0005-Solve-the-problem-of-adjusting-animation-freeze.patch
|
patch4: 0005-Solve-the-problem-of-adjusting-animation-freeze.patch
|
||||||
|
patch5: 0006-fix-the-slider-to-adjust-the-microphone-volume.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A simple and lightweight screensaver written by Qt5.
|
A simple and lightweight screensaver written by Qt5.
|
||||||
@ -59,6 +60,8 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
|
%patch5 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64
|
./autogen.sh --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64
|
||||||
make
|
make
|
||||||
@ -119,6 +122,9 @@ glib-compile-schemas /usr/share/glib-2.0/schemas/
|
|||||||
%{_datadir}/glib-2.0/
|
%{_datadir}/glib-2.0/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Jul 12 2021 tanyulong<tanyulong@kylinos.cn> - 3.0.2-7
|
||||||
|
- Solve the problem of dragging the slider to adjust the microphone volume
|
||||||
|
|
||||||
* Mon Jul 12 2021 tanyulong<tanyulong@kylinos.cn> - 3.0.2-6
|
* Mon Jul 12 2021 tanyulong<tanyulong@kylinos.cn> - 3.0.2-6
|
||||||
- Solve the problem of adjusting animation freeze to adjust the sound
|
- Solve the problem of adjusting animation freeze to adjust the sound
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user