Commit 14dff16f authored by Art Pinch's avatar Art Pinch Committed by Simon Redman
Browse files

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

parent ebd7e534
......@@ -50,6 +50,9 @@ bool SystemvolumePlugin::receivePacket(const NetworkPacket& np)
if (np.has(QStringLiteral("muted"))) {
sink->setMuted(np.get<bool>(QStringLiteral("muted")));
}
if (np.has(QStringLiteral("enabled"))) {
sink->setDefault(np.get<bool>(QStringLiteral("enabled")));
}
}
}
return true;
......
Markdown is supported
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