[SystemVolumePlugin][MacOS] Support for changing default audio output from remote device
This commit is contained in:
parent
dc7ce7f01f
commit
19f4b56173
1 changed files with 3 additions and 0 deletions
|
@ -250,6 +250,9 @@ bool SystemvolumePlugin::receivePacket(const NetworkPacket& np)
|
|||
if (np.has(QStringLiteral("muted"))) {
|
||||
m_sinksMap[name]->setMuted(np.get<bool>(QStringLiteral("muted")));
|
||||
}
|
||||
if (np.has(QStringLiteral("enabled"))) {
|
||||
m_sinksMap[name]->setDefault(np.get<bool>(QStringLiteral("enabled")));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue