mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 12:44:58 +00:00
Volume control fix
This commit is contained in:
@@ -416,7 +416,7 @@ namespace PepperDash.Essentials
|
|||||||
if (rmVc != null)
|
if (rmVc != null)
|
||||||
{
|
{
|
||||||
var vc = rmVc.CurrentVolumeControls as IBasicVolumeWithFeedback;
|
var vc = rmVc.CurrentVolumeControls as IBasicVolumeWithFeedback;
|
||||||
if (rmVc != null)
|
if (vc != null)
|
||||||
{
|
{
|
||||||
volumes.Master = new Volume("master", vc.VolumeLevelFeedback.UShortValue, vc.MuteFeedback.BoolValue, "Volume", true, "");
|
volumes.Master = new Volume("master", vc.VolumeLevelFeedback.UShortValue, vc.MuteFeedback.BoolValue, "Volume", true, "");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user