Skip to content

Commit

Permalink
fix: fixes issue where control objects that respond with true/false d…
Browse files Browse the repository at this point in the history
…o not update mute state
  • Loading branch information
aknous committed Aug 21, 2023
1 parent 0d0c1ac commit ca1dd72
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions QscQsysDspPlugin/QscDspLevelControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,18 @@ public void ParseSubscriptionMessage(string customName, string value, string abs
{
switch (value)
{
case "true":
case "true":
_isMuted = true;
_muteIsSubscribed = true;
break;
case "muted":
_isMuted = true;
_muteIsSubscribed = true;
break;
case "false":
case "false":
_isMuted = false;
_muteIsSubscribed = true;
break;
case "unmuted":
_isMuted = false;
_muteIsSubscribed = true;
Expand Down

0 comments on commit ca1dd72

Please sign in to comment.