diff --git a/plugins/systemvolume/systemvolumeplugin-win.cpp b/plugins/systemvolume/systemvolumeplugin-win.cpp index 226c16bee..1de49c891 100644 --- a/plugins/systemvolume/systemvolumeplugin-win.cpp +++ b/plugins/systemvolume/systemvolumeplugin-win.cpp @@ -417,21 +417,13 @@ bool SystemvolumePlugin::receivePacket(const NetworkPacket &np) HRESULT unregisterSuccess = sink.first->UnregisterControlChangeNotify(sink.second); if (np.has(QStringLiteral("volume"))) { - float currentVolume; - sink.first->GetMasterVolumeLevelScalar(¤tVolume); float requestedVolume = (float)np.get(QStringLiteral("volume"), 100) / 100; - if (currentVolume != requestedVolume) { - sinkList[name].first->SetMasterVolumeLevelScalar(requestedVolume, NULL); - } + sinkList[name].first->SetMasterVolumeLevelScalar(requestedVolume, NULL); } if (np.has(QStringLiteral("muted"))) { - BOOL currentMuteStatus; - sink.first->GetMute(¤tMuteStatus); BOOL requestedMuteStatus = np.get(QStringLiteral("muted"), false); - if (currentMuteStatus != requestedMuteStatus) { - sinkList[name].first->SetMute(requestedMuteStatus, NULL); - } + sinkList[name].first->SetMute(requestedMuteStatus, NULL); } if (np.has(QStringLiteral("enabled"))) {