aboutsummaryrefslogtreecommitdiffstats
path: root/app/mixer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/mixer.cpp')
-rw-r--r--app/mixer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/mixer.cpp b/app/mixer.cpp
index 6a1245c..f231b6d 100644
--- a/app/mixer.cpp
+++ b/app/mixer.cpp
@@ -82,7 +82,8 @@ void Mixer::getVolume(const QString& name)
if (r && v.isObject())
{
// TODO: Success, update the slider
- int newVolume = v.toObject()["response"].toObject()["volnew"].toInt();
+ qDebug() << "Volume changed: " << v;
+ int newVolume = v.toObject()["response"].toObject()["response"].toObject()["volnew"].toInt();
auto currentVolume = volumes_.find(name);
if (currentVolume != volumes_.end() && *currentVolume == newVolume)
return;