desklink: set the status of fMuted in _ConnectMixer().

* This fixes the volume icon not showing as muted, despite
  media preflet saying otherwise.
This commit is contained in:
Jessica Hamilton 2017-01-16 18:54:02 +00:00
parent 83b4b8937b
commit 9f4c8d3b74
1 changed files with 1 additions and 0 deletions

View File

@ -586,6 +586,7 @@ MediaReplicant::_ConnectMixer()
if (fMixerControl->MuteNode() != media_node::null) { if (fMixerControl->MuteNode() != media_node::null) {
roster->StartWatching(this, fMixerControl->MuteNode(), roster->StartWatching(this, fMixerControl->MuteNode(),
B_MEDIA_NEW_PARAMETER_VALUE); B_MEDIA_NEW_PARAMETER_VALUE);
fMuted = fMixerControl->Mute();
} }
return B_OK; return B_OK;