mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix: 调节任务栏上的声音没有音效输出
设置根据设置的音量输出音效为true Log: 修复调节任务栏上的声音没有音效输出的问题。 Bug: https://pms.uniontech.com/zentao/bug-view-47993.html Change-Id: I86c1aa236c87e142b4b3b9d0b11384b3e198b7b9 Reviewed-on: http://gerrit.uniontech.com/c/dde-dock/+/4903 Reviewed-by: <mailman@uniontech.com> Reviewed-by: niecheng <niecheng@uniontech.com> Reviewed-by: fanpengcheng <fanpengcheng@uniontech.com> Tested-by: <mailman@uniontech.com>
This commit is contained in:
parent
61ed07aa11
commit
00d99837a5
@ -277,7 +277,7 @@ void SoundApplet::onVolumeChanged()
|
||||
|
||||
void SoundApplet::volumeSliderValueChanged()
|
||||
{
|
||||
m_defSinkInter->SetVolumeQueued(m_volumeSlider->value() / 100.0f, false);
|
||||
m_defSinkInter->SetVolume(m_volumeSlider->value() / 100.0f, true);
|
||||
}
|
||||
|
||||
void SoundApplet::sinkInputsChanged()
|
||||
@ -545,5 +545,3 @@ void SoundApplet::haldleDbusSignal(const QDBusMessage &msg)
|
||||
|
||||
getCradsInfo();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user