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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user