VolumeShaper: improve logging and dumpsys
Test: CTS and dumpsys
Bug: 37536598
Change-Id: I9a838a8605defde3aaf42a872e48f01425df0f0e
diff --git a/include/media/Interpolator.h b/include/media/Interpolator.h
index 1b26b87..120a074 100644
--- a/include/media/Interpolator.h
+++ b/include/media/Interpolator.h
@@ -295,6 +295,8 @@
std::string toString() const {
std::stringstream ss;
ss << "mInterpolatorType: " << mInterpolatorType << std::endl;
+ ss << "mFirstSlope: " << mFirstSlope << std::endl;
+ ss << "mLastSlope: " << mLastSlope << std::endl;
for (const auto &pt : *this) {
ss << pt.first << " " << pt.second << std::endl;
}