Skip to content

Commit

Permalink
fix: set mute & volume values & fire feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-welker committed May 1, 2024
1 parent 679cf08 commit 5b66220
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/SonyBraviaDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -760,12 +760,15 @@ private object ProcessRs232Response(object _)
}
case eCommandType.VolumeQuery:
{
var volume = buffer.ParseVolumeResponse();
_rawVolume = buffer.ParseVolumeResponse();

VolumeLevelFeedback.FireUpdate();
break;
}
case eCommandType.MuteQuery:
{
var mute = buffer.ParseMuteResponse();
_muted = buffer.ParseMuteResponse();
MuteFeedback.FireUpdate();
break;
}
}
Expand Down

0 comments on commit 5b66220

Please sign in to comment.