Effects: sets mVolumeControlEffect
Bug: 303565339
Test: mm
Test: manually test on AIDL HAL
Change-Id: Ie1bece9a0ef9a3feb580ec4b4c996fcee074e27c
diff --git a/services/audioflinger/Effects.cpp b/services/audioflinger/Effects.cpp
index 589050c..73a89e5 100644
--- a/services/audioflinger/Effects.cpp
+++ b/services/audioflinger/Effects.cpp
@@ -2572,6 +2572,7 @@
uint32_t rightZero = 0;
volumeControlEffect->setVolume(&leftZero, &rightZero, true /*controller*/);
}
+ mVolumeControlEffect = volumeControlEffect;
}
mLeftVolume = newLeft;
mRightVolume = newRight;