Commit 19f4b561 authored by Art Pinch's avatar Art Pinch Committed by Simon Redman
Browse files

[SystemVolumePlugin][MacOS] Support for changing default audio output from remote device

parent dc7ce7f0
Pipeline #51569 canceled with stage
in 1 minute and 51 seconds
...@@ -250,6 +250,9 @@ bool SystemvolumePlugin::receivePacket(const NetworkPacket& np) ...@@ -250,6 +250,9 @@ bool SystemvolumePlugin::receivePacket(const NetworkPacket& np)
if (np.has(QStringLiteral("muted"))) { if (np.has(QStringLiteral("muted"))) {
m_sinksMap[name]->setMuted(np.get<bool>(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")));
}
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment