diff options
-rw-r--r-- | app/mixer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mixer.cpp b/app/mixer.cpp index fae2e6a..e37e741 100644 --- a/app/mixer.cpp +++ b/app/mixer.cpp @@ -49,7 +49,7 @@ void Mixer::setRoleVolume(AudioRole* role) QJsonObject arg; arg.insert("control", role->Name().toLocal8Bit().data()); - arg.insert("value", QJsonValue(role->Value())); + arg.insert("value", QJsonValue(role->Value() / 100.0)); m_client.call("audiomixer", "volume", arg); } |