mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
Volume control fix
This commit is contained in:
parent
1c9aa1eaf6
commit
44b72dcfe5
1 changed files with 1 additions and 1 deletions
|
|
@ -416,7 +416,7 @@ namespace PepperDash.Essentials
|
|||
if (rmVc != null)
|
||||
{
|
||||
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, "");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue